diff options
Diffstat (limited to 'updates/1.30.0.sh')
-rw-r--r-- | updates/1.30.0.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/updates/1.30.0.sh b/updates/1.30.0.sh new file mode 100644 index 00000000..b958c3ba --- /dev/null +++ b/updates/1.30.0.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +set -e + +## BACKWARD FIXES ( for older images ) + +source /usr/local/etc/library.sh # sets NCVER PHPVER RELEASE + +# all images + +# make sure these are installed as well in all upgrade paths +apt_install php${PHPVER}-gmp haveged lsb-release php-smbclient exfat-fuse exfat-utils file + +# for NC19.0.1 +apt_install php-bcmath + +## delayed in bg so it does not kill the connection, and we get AJAX response +bash -c "sleep 3; service php${PHPVER}-fpm restart" &>/dev/null & + + +# docker images only +[[ -f /.docker-image ]] && { + : +} + +# for non docker images +[[ ! -f /.docker-image ]] && { + : +} + +exit 0 |