Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'updates/1.17.0.sh')
-rw-r--r--updates/1.17.0.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/updates/1.17.0.sh b/updates/1.17.0.sh
new file mode 100644
index 00000000..0aa97cb6
--- /dev/null
+++ b/updates/1.17.0.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+set -e
+
+## BACKWARD FIXES ( for older images )
+
+source /usr/local/etc/library.sh # sets NCVER PHPVER RELEASE
+
+# all images
+
+# restore smbclient after dist upgrade
+apt-get update
+apt-get install -y --no-install-recommends php${PHPVER}-gmp
+
+# docker images only
+[[ -f /.docker-image ]] && {
+ :
+}
+
+# for non docker images
+[[ ! -f /.docker-image ]] && {
+ :
+}
+
+exit 0