Add distro_check function call

logic that used to be at top of pi-hole's install is now in distro_check()
This commit is contained in:
Adam Hill 2017-01-31 16:01:46 -06:00 committed by GitHub
parent 9250e3570e
commit 8464bc64b5
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ PH_TEST=true . "${PIHOLE_INSTALL}"
# Run only what we need from installer
export USER=pihole
if [[ "$IMAGE" == 'debian' ]] ; then
distro_check
install_dependent_packages INSTALLER_DEPS[@]
install_dependent_packages PIHOLE_DEPS[@]
sed -i "/sleep 2/ d" /etc/init.d/dnsmasq # SLOW