From b55b331a017686aa151e9d45f742d83f04592286 Mon Sep 17 00:00:00 2001 From: dimon Date: Tue, 18 Jul 2023 00:02:42 +0000 Subject: [PATCH] Update 'update.sh' --- update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update.sh b/update.sh index 368ccc7..6efd5f0 100644 --- a/update.sh +++ b/update.sh @@ -5,7 +5,10 @@ if ! [ -n "$1" ]; then fi cd / +echo "start removing old installation" rm -r /var/www/nextcloud || echo +echo "old installation was removed" + wget https://download.nextcloud.com/server/releases/nextcloud-$1.tar.bz2 tar -xjvf nextcloud-$1.tar.bz2 cp -r /nextcloud /var/www