mirror of https://github.com/Chocobozzz/PeerTube
Add compatibility with FreeBSD ls
The ls command of FreebSD does not understand the --search=time parameter for the ls command. "ls -t" is equivalent and behaves on Linux in the same way.pull/5769/head
parent
a166257611
commit
9c50bf69f1
|
@ -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 "==========================================="
|
||||
|
|
Loading…
Reference in New Issue