cleaning up install.sh
This commit is contained in:
parent
365e9a544f
commit
3ef47a3fb7
|
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#----OS ENVIRONMENT CHECKS-------
|
|
||||||
# check to confirm running as root. # First, we need to be root...
|
# check to confirm running as root. # First, we need to be root...
|
||||||
if [ "$(id -u)" -ne "0" ]; then
|
if [ "$(id -u)" -ne "0" ]; then
|
||||||
sudo -p "$(basename "$0") must be run as root, please enter your sudo password : " "$0" "$@"
|
sudo -p "$(basename "$0") must be run as root, please enter your sudo password : " "$0" "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue