diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2022-05-08 14:04:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2022-05-08 14:06:36 +0000 |
commit | 31507ac5ac53fcd3cb47a868e79914bd7aac387a (patch) | |
tree | 81676688188ca6fd1af9e256e4f2f0eee3e5c1e5 /share/build-scripts/debconf.d | |
parent | Adding comments about debconf hierarchy in debconf build script. (diff) | |
download | compute-tools-31507ac5ac53fcd3cb47a868e79914bd7aac387a.tar.xz compute-tools-31507ac5ac53fcd3cb47a868e79914bd7aac387a.zip |
Using versioned sort when sorting debconf templates.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | share/build-scripts/debconf.d/0001-preseed-file | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/build-scripts/debconf.d/0001-preseed-file b/share/build-scripts/debconf.d/0001-preseed-file index d2da46d..c6bd54d 100755 --- a/share/build-scripts/debconf.d/0001-preseed-file +++ b/share/build-scripts/debconf.d/0001-preseed-file @@ -70,7 +70,7 @@ then # user has not specified preseed files through commandline option, # showing debconf selection dialog for global preseed file. - FILES="$(cd ${DEBCONF} && find . -type f -name '*.cfg' -printf '%P\n' | LC_ALL=C sort)" + FILES="$(cd ${DEBCONF} && find . -type f -name '*.cfg' -printf '%P\n' | LC_ALL=C sort -V)" PRESEED_FILES="$(for FILE in ${FILES}; do echo -n "$(echo ${FILE} | sed -e 's|.cfg$||'), "; done | sed -e 's|, $||')" if [ -n "${PRESEED_FILES}" ] |