Skip to content

Conversation

@tilosp
Copy link
Member

@tilosp tilosp commented Jun 29, 2017

No description provided.

done

if [ ! -f /var/www/html/config/apps.config.php ]; then
if [ ! -d /var/www/html/custom_apps ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if [ ! -d /var/www/html/custom_apps ] && [ ! -f /var/www/html/config/apps.config.php ]; then would be better because we don't want to overwrite the file in any case.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@tilosp tilosp changed the title Ensure apps.config.php get only copied when upgrading from old verison Ensure apps.config.php get only copied when upgrading from old version Jun 29, 2017
@vfreex
Copy link
Contributor

vfreex commented Jun 29, 2017

LGTM

@tilosp tilosp merged commit 034ea8b into nextcloud:master Jun 29, 2017
@tilosp tilosp deleted the fix-upgrading branch June 29, 2017 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants