diff --git a/setup/dkim.sh b/setup/dkim.sh index 7929260e..52ed809d 100755 --- a/setup/dkim.sh +++ b/setup/dkim.sh @@ -120,9 +120,6 @@ tools/editconf.py /etc/postfix/main.cf \ # We need to explicitly enable the opendmarc service, or it will not start hide_output systemctl enable opendmarc -# There is a fault in the dkim code for Ubuntu 20.04, let's fix it. Not necessary for Ubuntu 21.04 or newer -sed -i 's/return b""\.join(r\.items\[0\]\.strings)/return b""\.join(list(r\.items)\[0\]\.strings)/' /usr/lib/python3/dist-packages/dkim/dnsplug.py - # Restart services. restart_service dkimpy-milter restart_service opendmarc diff --git a/setup/nextcloud.sh b/setup/nextcloud.sh index e11d9195..6f8743da 100755 --- a/setup/nextcloud.sh +++ b/setup/nextcloud.sh @@ -46,7 +46,7 @@ apt-get purge -qq -y owncloud* # we used to use the package manager apt_install php php-fpm \ php-cli php-sqlite3 php-gd php-imap php-curl php-pear curl \ - php-dev php-gd php-xml php-mbstring php-zip php-apcu php-json \ + php-dev 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 @@ -324,7 +324,7 @@ php < $CONFIG_TEMP && mv $CONFIG_TEMP $STORAGE_ROOT/owncloud/config.php; /etc/systemd/system/apt-daily.timer.d/override.conf < /etc/systemd/system/apt-daily-upgrade.timer.d/override.conf <