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"
|
user="user1"
|
||||||
version="%VERSION%"
|
version="%VERSION%"
|
||||||
|
|
||||||
if [[ -n "${2}" ]]; then
|
[[ -n "${2}" ]] && version="${2}" || version=voll
|
||||||
version=${2}
|
|
||||||
else
|
|
||||||
[[ "$version" == "%VERSION%" ]] && version=voll
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $EUID -ne 0 ]]; then
|
if [[ $EUID -ne 0 ]]; then
|
||||||
echo "This script must be run as root" 1>&2
|
echo "This script must be run as root" 1>&2
|
||||||
|
|
Loading…
Reference in a new issue