mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
fix native install on opensuse - issue 941
check $OSTYPE against "linux" as well as "linux-gnu"
This commit is contained in:
parent
9c68598b06
commit
50fd234da2
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue