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