Skip to content

Commit

Permalink
use proper sort in debian package too
Browse files Browse the repository at this point in the history
  • Loading branch information
julsemaan committed Apr 16, 2020
1 parent 89a9cad commit af34dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/packetfence.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ case "$1" in
rm $PACKETFENCE/db/pf-schema.sql
fi
cd $PACKETFENCE/db
VERSIONSQL=$(ls pf-schema-* |sort -r | head -1)
VERSIONSQL=$(ls pf-schema-* |sort --version-sort -r | head -1)
ln -f -s $VERSIONSQL ./pf-schema.sql

#Check if log files exist and create them with the correct owner
Expand Down

0 comments on commit af34dac

Please sign in to comment.