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

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@techandme.se>2018-06-12 23:57:12 +0300
committerGitHub <noreply@github.com>2018-06-12 23:57:12 +0300
commit33da8c981f1e52f703f80c449e86984d22e4102e (patch)
tree3f163a0ff994522f3f38a4cbcc64067e6043f47c /nextcloud_update.sh
parent1e2434d03528264f03925deba9e1a05a61c8eb14 (diff)
move compatible check
Nextcloud has nothing to do with apt
Diffstat (limited to 'nextcloud_update.sh')
-rw-r--r--nextcloud_update.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/nextcloud_update.sh b/nextcloud_update.sh
index 971faa34..dca2e721 100644
--- a/nextcloud_update.sh
+++ b/nextcloud_update.sh
@@ -57,9 +57,6 @@ then
docker images --format "{{.Repository}}:{{.Tag}}" | grep :latest | xargs -L1 docker pull
fi
-# Nextcloud 13 is required.
-lowest_compatible_nc 13
-
## OLD WAY ##
#if [ "$(docker image inspect onlyoffice/documentserver >/dev/null 2>&1 && echo yes || echo no)" == "yes" ]
#then
@@ -83,6 +80,9 @@ update-grub
# Remove update lists
rm /var/lib/apt/lists/* -r
+# Nextcloud 13 is required.
+lowest_compatible_nc 13
+
# Set secure permissions
if [ ! -f "$SECURE" ]
then