In `EmuHawkMono.sh`, check distro name case-insensitively
This commit is contained in:
parent
199474e128
commit
022cb02f3e
|
@ -7,10 +7,10 @@ fi
|
|||
libpath=""
|
||||
winepath=""
|
||||
if [ "$(command -v lsb_release)" ]; then
|
||||
case "$(lsb_release -i | cut -c17- | tr -d "\n")" in
|
||||
"Arch"|"ManjaroLinux"|"Artix") libpath="/usr/lib";;
|
||||
"Fedora") libpath="/usr/lib64"; export MONO_WINFORMS_XIM_STYLE=disabled;; # see https://bugzilla.xamarin.com/show_bug.cgi?id=28047#c9
|
||||
"Debian"|"LinuxMint"|"Ubuntu"|"Pop") libpath="/usr/lib/x86_64-linux-gnu"; export MONO_WINFORMS_XIM_STYLE=disabled;; # ditto
|
||||
case "$(lsb_release -i | cut -c17- | tr -d "\n" | tr A-Z a-z)" in
|
||||
"arch"|"manjarolinux"|"artix") libpath="/usr/lib";;
|
||||
"fedora") libpath="/usr/lib64"; export MONO_WINFORMS_XIM_STYLE=disabled;; # see https://bugzilla.xamarin.com/show_bug.cgi?id=28047#c9
|
||||
"debian"|"linuxmint"|"ubuntu"|"pop") libpath="/usr/lib/x86_64-linux-gnu"; export MONO_WINFORMS_XIM_STYLE=disabled;; # ditto
|
||||
esac
|
||||
else
|
||||
printf "Distro does not provide LSB release info API! (You've met with a terrible fate, haven't you?)\n"
|
||||
|
|
Loading…
Reference in New Issue