]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/upgrade.sh
Implement remote runner jobs in server
[github/Chocobozzz/PeerTube.git] / scripts / upgrade.sh
index e70576285bef4e30c8049b0b0a28ce6a56703fde..9949ebbc45ebb9a47a5ba352bd87a5747574e082 100755 (executable)
@@ -79,7 +79,7 @@ cp $PEERTUBE_PATH/peertube-latest/config/default.yaml $PEERTUBE_PATH/config/defa
 
 echo "Differences in configuration files..."
 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"
+diff -u "$(ls -t | head -2 | tail -1)/config/production.yaml.example" "$(ls -t | head -1)/config/production.yaml.example"
 
 echo ""
 echo "==========================================="