Skip to content

Ensure apps.config.php get only copied when upgrading from old version - #119

Merged
tilosp merged 1 commit into
nextcloud:masterfrom
tilosp-docker:fix-upgrading
Jun 29, 2017
Merged

Ensure apps.config.php get only copied when upgrading from old version#119
tilosp merged 1 commit into
nextcloud:masterfrom
tilosp-docker:fix-upgrading

Conversation

@tilosp

Copy link
Copy Markdown
Member

No description provided.

Comment thread10.0/apache/docker-entrypoint.sh Outdated
done

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

Copy link
Copy Markdown
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
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

done

@tilosptilosp changed the title Ensure apps.config.php get only copied when upgrading from old verisonEnsure apps.config.php get only copied when upgrading from old versionJun 29, 2017
@vfreex

Copy link
Copy Markdown
Contributor

LGTM

@tilosp
tilosp merged commit 034ea8b into nextcloud:masterJun 29, 2017
@tilosp
tilosp deleted the fix-upgrading branch June 29, 2017 14:26
Sign up for freeto 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

@tilosp@vfreex