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

dkimpy dev and nextcloud installation details

This commit is contained in:
github@kiekerjan.isdronken.nl
2022-01-06 22:06:27 +01:00
parent 3350fecd92
commit 99c960fc56
4 changed files with 20 additions and 22 deletions

View File

@@ -16,6 +16,12 @@ apt_install php php-fpm \
php-dev php-gd php-xml php-mbstring php-zip php-apcu php-json \
php-intl php-imagick php-gmp php-bcmath
# Enable apc is required before installing nextcloud 21
tools/editconf.py /etc/php/$(php_version)/mods-available/apcu.ini -c ';' \
apc.enable_cli=1
restart_service php$(php_version)-fpm
InstallNextcloud() {
version=$1
@@ -341,7 +347,7 @@ sudo -u www-data \
| (grep -v "No such app enabled" || /bin/true)
# Install interesting apps
installed=$(sudo -u www-data php /usr/local/lib/owncloud/occ app:list | grep 'notes')
installed=$(sudo -u www-data php /usr/local/lib/owncloud/occ app:list | grep "notes")
if [ -z "$installed" ]; then
sudo -u www-data php /usr/local/lib/owncloud/occ app:install notes