This commit is contained in:
simono41 2018-04-05 21:46:12 +02:00
parent 688f88180e
commit 1a65a15367

View file

@ -9,11 +9,7 @@ repo="SpectreOS"
user="user1"
version="%VERSION%"
if [[ -n "${2}" ]]; then
version=${2}
else
[[ "$version" == "%VERSION%" ]] && version=voll
fi
[[ -n "${2}" ]] && version="${2}" || version=voll
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2