chore: remove dead code from install.sh (#230)
`SELECTED_USER` is never used
This commit is contained in:
parent
aa4a6d8ead
commit
4cf20251ea
|
@ -1,13 +1,7 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
SELECTED_USER="$1"
|
|
||||||
CURRENT_UID="$(id -u)"
|
CURRENT_UID="$(id -u)"
|
||||||
|
|
||||||
if [ "$SELECTED_USER" = "" ]; then
|
|
||||||
echo "Please specify a user!"
|
|
||||||
exit 1
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue