Skip to content

Commit

Permalink
Fixed detecting dnf by @Tahinli
Browse files Browse the repository at this point in the history
  • Loading branch information
ldrahnik committed Jul 2, 2023
1 parent f04246f commit d48d19f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d48d19f

Please sign in to comment.