From f9cdf7b1272badb834bee2baf059b99f079e8004 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 18 Feb 2018 16:04:50 +0100 Subject: Always sorting preseed files starting with a capital letter first in debconf container create script, independent of systems locale. Signed-off-by: Daniel Baumann --- share/scripts/debconf.d/0001-preseed-file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/scripts') 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}" ] -- cgit v1.2.3