mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-01 02:23:21 +00:00
Fixed EOL to Unix
Fixed file BOM, EOL to Unix
This commit is contained in:
parent
874b4bc358
commit
5e8ac9232f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if (( $EUID==0 )); then SUDO=''
|
||||||
echo "WE ARE ROOT!"
|
echo "WE ARE ROOT!"
|
||||||
elif [ $(dpkg-query -s -f='${Status}' sudo 2>/dev/null | grep -c "ok installed") -eq 1 ]; then SUDO='sudo'
|
elif [ $(dpkg-query -s -f='${Status}' sudo 2>/dev/null | grep -c "ok installed") -eq 1 ]; then SUDO='sudo'
|
||||||
echo "sudo IS installed... setting SUDO to sudo!"
|
echo "sudo IS installed... setting SUDO to sudo!"
|
||||||
else echo "Sudo NOT found AND not ROOT! Must run script as root!"
|
else echo "Sudo is NOT found AND not ROOT! Must run script as root!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue