From 50fd234da2e110523140dd3bb2bf3f677640792b Mon Sep 17 00:00:00 2001 From: Noah Birnel Date: Thu, 23 Aug 2018 14:05:07 -0700 Subject: [PATCH] fix native install on opensuse - issue 941 check $OSTYPE against "linux" as well as "linux-gnu" --- native/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/native/install.sh b/native/install.sh index 70fb4baa..fb795005 100755 --- a/native/install.sh +++ b/native/install.sh @@ -24,6 +24,8 @@ native_loc="https://raw.githubusercontent.com/cmcaine/tridactyl/master/native/na # Decide where to put the manifest based on OS if [[ "$OSTYPE" == "linux-gnu" ]]; then manifest_home="$HOME/.mozilla/native-messaging-hosts/" +elif [[ "$OSTYPE" == "linux" ]]; then + manifest_home="$HOME/.mozilla/native-messaging-hosts/" elif [[ "$OSTYPE" == "darwin"* ]]; then manifest_home="$HOME/Library/Application Support/Mozilla/NativeMessagingHosts/" fi