deb-update.bash: actually use LC_ALL and note it being poor practice

This commit is contained in:
Aminda Suomalainen 2022-04-03 01:40:07 +03:00
parent 281cf1b07b
commit c81808ee26
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -8,7 +8,9 @@ set -x
# English (US) is generally installed everywhere, flatpak and packagekit use
# weird glyphs unavailable in C and C.utf8 is a RedHattism, which Debian
# side of the family doesn't recognise.
export LANG=en_US.utf8
#export LANG=en_US.utf8
# This is said to be a poor practice that should only be used for debugging
export LC_ALL=en_US.utf8
# if hash checks that the command exists
if hash apt-get 2>/dev/null; then