mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-17 21:59:55 +00:00
Merge pull request #804 from pi-hole/hotfix/curlRefire
Refire with curl
This commit is contained in:
commit
df0087fb23
@ -58,7 +58,7 @@ else
|
||||
echo "::: Detecting the presence of the sudo utility for continuation of this install..."
|
||||
if [ -x "$(command -v sudo)" ];then
|
||||
echo "::: Utility sudo located."
|
||||
exec sudo bash "$0" "$@"
|
||||
exec curl -sSL https://install.pi-hole.net | sudo bash "$@"
|
||||
exit $?
|
||||
else
|
||||
echo "::: sudo is needed for the Web interface to run pihole commands. Please run this script as root and it will be automatically installed."
|
||||
|
Loading…
Reference in New Issue
Block a user