diff --git a/Assets/EmuHawkMono.sh b/Assets/EmuHawkMono.sh index dc31ce2487..a0fcecb55c 100755 --- a/Assets/EmuHawkMono.sh +++ b/Assets/EmuHawkMono.sh @@ -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"