Fix $EUID usage

This commit is contained in:
Rob Watson 2021-04-02 21:52:43 +02:00
parent f1589c9ec9
commit e7ba7ca270
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# #
# Install packages for a new Arch or Manjaro installation. Requires sudo # Install packages for a new Arch or Manjaro installation. Requires sudo
if [[ $euid > 0 ]]; then if [[ $EUID > 0 ]]; then
echo "requires administrative privileges" echo "requires administrative privileges"
exit 1 exit 1
fi fi

View File

@ -4,7 +4,7 @@
set -e set -e
if [[ $euid > 0 ]]; then if [[ $EUID > 0 ]]; then
echo "requires administrative privileges" echo "requires administrative privileges"
exit 1 exit 1
fi fi

View File

@ -4,7 +4,7 @@
set -e set -e
if [[ $euid > 0 ]]; then if [[ $EUID > 0 ]]; then
echo "requires administrative privileges" echo "requires administrative privileges"
exit 1 exit 1
fi fi