From eb681b96c43b88bba358e6d0b124b6033c8796cf Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Mon, 4 Mar 2013 17:52:36 +0100 Subject: [PATCH] correct sorting via -V --- bin/opsi-administration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/opsi-administration.sh b/bin/opsi-administration.sh index 2770192..eaedaf4 100755 --- a/bin/opsi-administration.sh +++ b/bin/opsi-administration.sh @@ -75,7 +75,7 @@ go_show() echo ${pkg_version}-$REV_CREATOR_TAG$REV_RELEASE >> ${file_list_release} done done - sort -n ${file_list_release} | uniq > ${file_list_final} + sort -V ${file_list_release} | uniq > ${file_list_final} for release_file_list in `cat ${file_list_final}` ; do . ${show_dir}/${show_name}-${release_file_list}.cfg echo $REV_PN-$REV_VERSION-$REV_CREATOR_TAG$REV_RELEASE >> $show_list