Mettre à jour 'install.sh'
This commit is contained in:
parent
e29cd4ddec
commit
eec2a7f206
1 changed files with 5 additions and 7 deletions
12
install.sh
12
install.sh
|
@ -30,17 +30,15 @@
|
|||
#
|
||||
# As root execute this command (the easy way!):
|
||||
#
|
||||
# # ./install.sh
|
||||
# or
|
||||
# # bash install-sh
|
||||
# # bash install.sh
|
||||
#
|
||||
#
|
||||
################################################################################
|
||||
# Make sure only root can run our script
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "This script must be run as root" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
#if [[ $EUID -ne 0 ]]; then
|
||||
# echo "This script must be run as root" 1>&2
|
||||
# exit 1
|
||||
#fi
|
||||
|
||||
## clean terminal
|
||||
#clear;
|
||||
|
|
Loading…
Reference in a new issue