mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-05-01 13:34:24 +02:00
commit
024b741552
11 changed files with 428 additions and 68 deletions
|
@ -19,7 +19,7 @@ else
|
|||
echo "::: sudo will be used."
|
||||
# Check if it is actually installed
|
||||
# If it isn't, exit because the install cannot complete
|
||||
if [[ $(dpkg-query -s sudo) ]];then
|
||||
if [ -x "$(command -v sudo)" ];then
|
||||
export SUDO="sudo"
|
||||
else
|
||||
echo "::: Please install sudo or run this script as root."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue