install.sh: shfmt and shellcheck pass
This commit is contained in:
parent
254e497982
commit
b59f6e8ef9
|
@ -8,7 +8,7 @@ if [ "$SELECTED_USER" = "" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $CURRENT_UID -ne 0 ]; then
|
if [ "$CURRENT_UID" -ne 0 ]; then
|
||||||
echo "Please run using sudo!"
|
echo "Please run using sudo!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -35,4 +35,3 @@ if [ "$USE_SERVICE_CMD" = "true" ]; then
|
||||||
else
|
else
|
||||||
systemctl restart systemd-udevd.service
|
systemctl restart systemd-udevd.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue