Fix $EUID usage
This commit is contained in:
parent
f1589c9ec9
commit
e7ba7ca270
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue