diff options
author | WeirdTreeThing <bradyn127@protonmail.com> | 2024-03-18 15:50:46 -0400 |
---|---|---|
committer | WeirdTreeThing <bradyn127@protonmail.com> | 2024-03-18 15:50:46 -0400 |
commit | c9049f33b126fb82d223652f0a18d2f4701c8b0f (patch) | |
tree | d47e09d3ad9dfda2ac29ec9c266c683e642b7ebb | |
parent | 1cf87a401dfc99d518ef84965ce3cb83993a3f25 (diff) |
More install.sh fixes
-rwxr-xr-x | install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh index 963016f..893831d 100755 --- a/install.sh +++ b/install.sh @@ -39,7 +39,7 @@ if ! [ -f /usr/bin/keyd ]; then $privesc apt install -y build-essential git &>> pkg.log ;; fedora) - [ ! $FEDORA_HAS_KEYD -eq 1 ] && $privesc dnf groupinstall -y "Development Tools" "Development Libraries" &>> pkg.log + [ ! "$FEDORA_HAS_KEYD" -eq 1 ] && $privesc dnf groupinstall -y "Development Tools" "Development Libraries" &>> pkg.log ;; esac @@ -55,7 +55,7 @@ if ! [ -f /usr/bin/keyd ]; then $privesc apk add --no-interactive keyd &>> pkg.log ;; *) - if [ "$FEDORA_HAS_KEYD" -eq 1 ]; then + if [ "$FEDORA_HAS_KEYD" = "1" ]; then $privesc dnf install -y keyd &>> pkg.log else git clone https://github.com/rvaiya/keyd &>> pkg.log |