no app disable

This commit is contained in:
Gwenhael Le Moine 2017-03-07 15:41:19 +01:00
parent a7fec90a6c
commit 18931d7b10

View file

@ -19,7 +19,7 @@ TMP=${TMP:-/tmp/$TAG}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
ACTIVE_APPS="audioplayer bookmarks calendar contacts deck direct_menu files_markdown gallery news ocsms tasks" ACTIVE_APPS="audioplayer bookmarks calendar contacts deck direct_menu files_markdown gallery news ocsms tasks mail"
set -eu set -eu
@ -76,10 +76,10 @@ grep -q "/var/www/${VHOST}htdocs/cron.php" /var/spool/cron/crontabs/apache || ec
echo "Upgrading database and applications" echo "Upgrading database and applications"
( cd /var/www/${VHOST}htdocs/ ( cd /var/www/${VHOST}htdocs/
sudo -u $PHPUSER php ./occ upgrade sudo -u $PHPUSER php ./occ upgrade --quiet --no-interaction --no-app-disable
for a in $ACTIVE_APPS; do # for a in $ACTIVE_APPS; do
sudo -u $PHPUSER php ./occ app:enable \$a # sudo -u $PHPUSER php ./occ app:enable \$a
done # done
) )
echo "Post-installation process completed" echo "Post-installation process completed"
EOF EOF