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
|
||||
|
||||
if [[ $euid > 0 ]]; then
|
||||
if [[ $EUID > 0 ]]; then
|
||||
echo "requires administrative privileges"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
if [[ $euid > 0 ]]; then
|
||||
if [[ $EUID > 0 ]]; then
|
||||
echo "requires administrative privileges"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
if [[ $euid > 0 ]]; then
|
||||
if [[ $EUID > 0 ]]; then
|
||||
echo "requires administrative privileges"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue