X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fupgrade.sh;h=59dc5ab2638a08f23858d4227ce0a982ff4e5af3;hb=a232d3e50b55b9c387c968e16d7a1ca2dfa6fdf9;hp=12629ad650dc9927b423c2c0588f3877fb042416;hpb=4d7ce9218a3f695bf3d013cbdce1c5c6a5221927;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index 12629ad65..59dc5ab26 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -2,7 +2,7 @@ set -eu -PEERTUBE_PATH=${1:-/var/www/peertube/} +PEERTUBE_PATH=${1:-/var/www/peertube} if [ ! -e "$PEERTUBE_PATH" ]; then echo "Error - path \"$PEERTUBE_PATH\" wasn't found" @@ -72,7 +72,7 @@ rm -f "peertube-${VERSION}.zip" rm -rf $PEERTUBE_PATH/peertube-latest ln -s "$PEERTUBE_PATH/versions/peertube-${VERSION}" $PEERTUBE_PATH/peertube-latest cd $PEERTUBE_PATH/peertube-latest -yarn install --production --pure-lockfile +NOCLIENT=1 yarn install --production --pure-lockfile cp $PEERTUBE_PATH/peertube-latest/config/default.yaml $PEERTUBE_PATH/config/default.yaml echo "Differences in configuration files..."