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

fixes to installer

This commit is contained in:
github@kiekerjan.isdronken.nl
2022-02-01 22:48:09 +01:00
parent 4f600cee15
commit d017c8b04c
2 changed files with 14 additions and 14 deletions

View File

@@ -349,17 +349,17 @@ sudo -u www-data \
# Install interesting apps
installed=$(sudo -u www-data php /usr/local/lib/owncloud/occ app:list | grep "notes")
if [ -z "$installed" ]; then
#if [ -z "$installed" ]; then
sudo -u www-data php /usr/local/lib/owncloud/occ app:install notes
fi
#fi
hide_output sudo -u www-data php /usr/local/lib/owncloud/console.php app:enable notes
installed=$(sudo -u www-data php /usr/local/lib/owncloud/occ app:list | grep 'twofactor_totp')
if [ -z "$installed" ]; then
#if [ -z "$installed" ]; then
sudo -u www-data php /usr/local/lib/owncloud/occ app:install twofactor_totp
fi
#fi
hide_output sudo -u www-data php /usr/local/lib/owncloud/console.php app:enable twofactor_totp