mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
--force seems to light. lets try --i_do_not_follow_recommendations
This commit is contained in:
parent
6f780316c4
commit
aca5064743
1 changed files with 5 additions and 4 deletions
|
@ -158,8 +158,8 @@ verifyFreeDiskSpace() {
|
||||||
echo "::: Unknown free disk space!"
|
echo "::: Unknown free disk space!"
|
||||||
echo "::: We were unable to determine available free disk space on this system."
|
echo "::: We were unable to determine available free disk space on this system."
|
||||||
echo "::: You may override this check and force the installation, however, it is not recommended"
|
echo "::: You may override this check and force the installation, however, it is not recommended"
|
||||||
echo "::: To do so, pass the argument '--force' to the install script"
|
echo "::: To do so, pass the argument '--i_do_not_follow_recommendations' to the install script"
|
||||||
echo "::: eg. curl -L https://install.pi-hole.net | bash /dev/stdin --force"
|
echo "::: eg. curl -L https://install.pi-hole.net | bash /dev/stdin --i_do_not_follow_recommendations"
|
||||||
exit 1
|
exit 1
|
||||||
# - Insufficient free disk space
|
# - Insufficient free disk space
|
||||||
elif [[ ${existing_free_kilobytes} -lt ${required_free_kilobytes} ]]; then
|
elif [[ ${existing_free_kilobytes} -lt ${required_free_kilobytes} ]]; then
|
||||||
|
@ -927,8 +927,9 @@ fi
|
||||||
|
|
||||||
# Start the installer
|
# Start the installer
|
||||||
# Verify there is enough disk space for the install
|
# Verify there is enough disk space for the install
|
||||||
if [ $1 = "--force" ]; then
|
if [ $1 = "--i_do_not_follow_recommendations" ]; then
|
||||||
echo "::: --force passed to script, skipping free disk space verification!"
|
echo "::: ----i_do_not_follow_recommendations passed to script"
|
||||||
|
echo "::: skipping free disk space verification!"
|
||||||
else
|
else
|
||||||
verifyFreeDiskSpace
|
verifyFreeDiskSpace
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue