fix
This commit is contained in:
parent
688f88180e
commit
1a65a15367
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue