Skip to content

Commit af34dac

Browse files
committed
use proper sort in debian package too
1 parent 89a9cad commit af34dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian/packetfence.postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ case "$1" in
5050
rm $PACKETFENCE/db/pf-schema.sql
5151
fi
5252
cd $PACKETFENCE/db
53-
VERSIONSQL=$(ls pf-schema-* |sort -r | head -1)
53+
VERSIONSQL=$(ls pf-schema-* |sort --version-sort -r | head -1)
5454
ln -f -s $VERSIONSQL ./pf-schema.sql
5555

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

0 commit comments

Comments
 (0)