Update 'update.sh'
This commit is contained in:
parent
209c76701a
commit
b55b331a01
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user