diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2018-02-18 15:04:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2018-02-18 15:05:47 +0000 |
commit | f9cdf7b1272badb834bee2baf059b99f079e8004 (patch) | |
tree | b7ac60b6911a420de5ec4b14a0190ebf0db2dffb /share/scripts/debconf.d | |
parent | Making container debconf create script aware of multiple subdirectories below... (diff) | |
download | compute-tools-f9cdf7b1272badb834bee2baf059b99f079e8004.tar.xz compute-tools-f9cdf7b1272badb834bee2baf059b99f079e8004.zip |
Always sorting preseed files starting with a capital letter first in debconf container create script, independent of systems locale.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | share/scripts/debconf.d/0001-preseed-file | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/scripts/debconf.d/0001-preseed-file b/share/scripts/debconf.d/0001-preseed-file index 02dd72d..fab7d8d 100755 --- a/share/scripts/debconf.d/0001-preseed-file +++ b/share/scripts/debconf.d/0001-preseed-file @@ -57,7 +57,7 @@ then # user has not specified preseed files through commandline option, # showing debconf selection dialog for global preseed file. - FILES="$(cd ${CONFIG} && find . -type f -name '*.cfg' -printf '%P\n' | sort)" + FILES="$(cd ${CONFIG} && find . -type f -name '*.cfg' -printf '%P\n' | LC_ALL=C sort)" PRESEED_FILES="$(for FILE in ${FILES}; do echo -n "$(echo ${FILE} | sed -e 's|.cfg$||'), "; done | sed -e 's|, $||')" if [ -n "${PRESEED_FILES}" ] |