Debian packaging QIDIStudio
This commit is contained in:
18
debian/qidistudio-appimage/usr/bin/qidistudio
vendored
Executable file
18
debian/qidistudio-appimage/usr/bin/qidistudio
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# Locale fallback: prefer en_GB.UTF-8, then C.UTF-8, then C.
|
||||
if locale -a 2>/dev/null | grep -Eiq '^en_GB\.utf-?8$'; then
|
||||
export LANG=en_GB.UTF-8
|
||||
export LC_ALL=en_GB.UTF-8
|
||||
elif locale -a 2>/dev/null | grep -Eiq '^c\.utf-?8$'; then
|
||||
export LANG=C.UTF-8
|
||||
export LC_ALL=C.UTF-8
|
||||
else
|
||||
export LANG=C
|
||||
export LC_ALL=C
|
||||
fi
|
||||
|
||||
exec /opt/qidistudio/QIDIStudio_ubu64.AppImage "$@"
|
||||
Reference in New Issue
Block a user