From d48d19fdd06a49d8e3eebac8d391205f9087a280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Drahn=C3=ADk?= Date: Sun, 2 Jul 2023 14:00:31 +0200 Subject: [PATCH] Fixed detecting dnf by @Tahinli --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index efb0a7c..ab66f2d 100755 --- a/install.sh +++ b/install.sh @@ -11,7 +11,7 @@ if [[ $(apt install 2>/dev/null) ]]; then echo 'apt is here' && apt -y install libevdev2 python3-libevdev elif [[ $(pacman -h 2>/dev/null) ]]; then echo 'pacman is here' && pacman --noconfirm -S libevdev python-libevdev -elif [[ $(dnf install 2>/dev/null) ]]; then +elif [[ $(dnf help 2>/dev/null) ]]; then echo 'dnf is here' && dnf -y install libevdev python-libevdev fi