mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-11 01:27:17 +00:00
missed a place where read only config had to be set false.
This commit is contained in:
parent
7d9ab6d247
commit
0c886e2875
@ -289,6 +289,9 @@ hide_output sudo -u www-data php$PHP_VER /usr/local/lib/owncloud/console.php app
|
|||||||
sudo -u www-data php$PHP_VER /usr/local/lib/owncloud/occ upgrade
|
sudo -u www-data php$PHP_VER /usr/local/lib/owncloud/occ upgrade
|
||||||
if [ \( $? -ne 0 \) -a \( $? -ne 3 \) ]; then exit 1; fi
|
if [ \( $? -ne 0 \) -a \( $? -ne 3 \) ]; then exit 1; fi
|
||||||
|
|
||||||
|
# Turn off read only in case it wasn't turned off before.
|
||||||
|
sed -ie '/config_is_read_only/d' $STORAGE_ROOT/owncloud/config.php
|
||||||
|
|
||||||
# Disable default apps that we don't support
|
# Disable default apps that we don't support
|
||||||
sudo -u www-data \
|
sudo -u www-data \
|
||||||
php$PHP_VER /usr/local/lib/owncloud/occ app:disable \
|
php$PHP_VER /usr/local/lib/owncloud/occ app:disable \
|
||||||
@ -296,6 +299,7 @@ sudo -u www-data \
|
|||||||
notifications files_pdfviewer password_policy systemtags comments \
|
notifications files_pdfviewer password_policy systemtags comments \
|
||||||
privacy recommendations files_rightclick sharebymail support text \
|
privacy recommendations files_rightclick sharebymail support text \
|
||||||
theming survey_client user_status weather_status files_videoplayer \
|
theming survey_client user_status weather_status files_videoplayer \
|
||||||
|
contactsinteraction \
|
||||||
| (grep -v "No such app enabled" || /bin/true)
|
| (grep -v "No such app enabled" || /bin/true)
|
||||||
|
|
||||||
# Update config.php.
|
# Update config.php.
|
||||||
|
Loading…
Reference in New Issue
Block a user