Skip to content

Commit 33da8c9

Browse files
author
Daniel Hansson
authored
move compatible check
Nextcloud has nothing to do with apt
1 parent 1e2434d commit 33da8c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nextcloud_update.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ then
5757
docker images --format "{{.Repository}}:{{.Tag}}" | grep :latest | xargs -L1 docker pull
5858
fi
5959

60-
# Nextcloud 13 is required.
61-
lowest_compatible_nc 13
62-
6360
## OLD WAY ##
6461
#if [ "$(docker image inspect onlyoffice/documentserver >/dev/null 2>&1 && echo yes || echo no)" == "yes" ]
6562
#then
@@ -83,6 +80,9 @@ update-grub
8380
# Remove update lists
8481
rm /var/lib/apt/lists/* -r
8582

83+
# Nextcloud 13 is required.
84+
lowest_compatible_nc 13
85+
8686
# Set secure permissions
8787
if [ ! -f "$SECURE" ]
8888
then

0 commit comments

Comments
 (0)