diff --git a/install.sh b/install.sh index 50ef2a5..c546eed 100755 --- a/install.sh +++ b/install.sh @@ -28,7 +28,7 @@ _install() { } _install_udev() { - if [ -n "$UDEV" ]; then + if [-n "$UDEV"] && ["$(expr substr $(uname -s) 1 5)" == "Linux"]; then if [ ! -d /etc/udev/rules.d/ ]; then sudo mkdir -p /etc/udev/rules.d/ fi