1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-20 18:27:23 +01:00

bash strict mode fixes (#1482)

This commit is contained in:
jvolkenant
2018-12-13 17:30:05 -08:00
committed by Joshua Tauberer
parent e80a1dd4b7
commit 71f1c92b9e
3 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ InstallNextcloud() {
# Make sure permissions are correct or the upgrade step won't run.
# $STORAGE_ROOT/owncloud may not yet exist, so use -f to suppress
# that error.
chown -f -R www-data.www-data $STORAGE_ROOT/owncloud /usr/local/lib/owncloud
chown -f -R www-data.www-data $STORAGE_ROOT/owncloud /usr/local/lib/owncloud || /bin/true
# If this isn't a new installation, immediately run the upgrade script.
# Then check for success (0=ok and 3=no upgrade needed, both are success).