From c9049f33b126fb82d223652f0a18d2f4701c8b0f Mon Sep 17 00:00:00 2001 From: WeirdTreeThing Date: Mon, 18 Mar 2024 15:50:46 -0400 Subject: More install.sh fixes --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install.sh') 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 -- cgit 1.4.1-2-gfad0