mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Add a tip on how to become root...
This commit is contained in:
parent
8a3ecc96a9
commit
91dec8bfb6
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ function check_assertions()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Assert we're root
|
# Assert we're root
|
||||||
[[ "$(id -u)" == "0" ]] || die "This script must be run as root."
|
[[ "$(id -u)" == "0" ]] || die "This script must be run as root. On most setups, typing 'sudo -i' can be used to become root."
|
||||||
|
|
||||||
# Assert systemd is installed
|
# Assert systemd is installed
|
||||||
command -v systemctl > /dev/null || die "YunoHost requires systemd to be installed."
|
command -v systemctl > /dev/null || die "YunoHost requires systemd to be installed."
|
||||||
|
|
Loading…
Add table
Reference in a new issue