X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fupgrade.sh;h=e70576285bef4e30c8049b0b0a28ce6a56703fde;hb=7e9d038a16677acc36f04072ed8d56d35cf32809;hp=9c17aecb89da629499e1da94a756e80446fdf730;hpb=e7542293d6db519cce10f5d55c079a4f21482c2b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index 9c17aecb8..e70576285 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -78,7 +78,8 @@ ln -s "$PEERTUBE_PATH/versions/peertube-${VERSION}" $PEERTUBE_PATH/peertube-late cp $PEERTUBE_PATH/peertube-latest/config/default.yaml $PEERTUBE_PATH/config/default.yaml echo "Differences in configuration files..." -diff -u $PEERTUBE_PATH/config/production.yaml "$PEERTUBE_PATH/versions/peertube-${VERSION}/config/production.yaml.example" +cd $PEERTUBE_PATH/versions +diff -u "$(ls --sort=t | head -2 | tail -1)/config/production.yaml.example" "$(ls --sort=t | head -1)/config/production.yaml.example" echo "" echo "==========================================="