diff --git a/script/install.sh b/script/install.sh index e741406..8f98d80 100755 --- a/script/install.sh +++ b/script/install.sh @@ -24,8 +24,8 @@ os_arch="" [ -e /etc/os-release ] && grep -i "PRETTY_NAME" /etc/os-release | grep -qi "alpine" && os_alpine='1' sudo() { - EUID=$(id -ru) - if [ "$EUID" -ne 0 ]; then + myEUID=$(id -ru) + if [ "$myEUID" -ne 0 ]; then if command -v sudo > /dev/null 2>&1; then command sudo "$@" else diff --git a/script/install_en.sh b/script/install_en.sh index 6d2c623..9f6c8b0 100755 --- a/script/install_en.sh +++ b/script/install_en.sh @@ -24,8 +24,8 @@ os_arch="" [ -e /etc/os-release ] && grep -i "PRETTY_NAME" /etc/os-release | grep -qi "alpine" && os_alpine='1' sudo() { - EUID=$(id -ru) - if [ "$EUID" -ne 0 ]; then + myEUID=$(id -ru) + if [ "$myEUID" -ne 0 ]; then if command -v sudo > /dev/null 2>&1; then command sudo "$@" else