From d0bc596adb254743a8f7ab4baa1c466194847dfc Mon Sep 17 00:00:00 2001 From: ryt51V Date: Fri, 4 Mar 2016 10:07:46 +0000 Subject: [PATCH] Forgot to install / uninstall the include file. --- automated install/basic-install.sh | 3 +++ automated install/uninstall.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 3ff1ad6a..f4a16e51 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -493,6 +493,9 @@ installScripts() { cp /etc/.pihole/advanced/Scripts/piholeLogFlush.sh /usr/local/bin/piholeLogFlush.sh cp /etc/.pihole/advanced/Scripts/updateDashboard.sh /usr/local/bin/updateDashboard.sh chmod 755 /usr/local/bin/{gravity,chronometer,whitelist,blacklist,piholeReloadServices,piholeSetPermissions,piholeLogFlush,updateDashboard}.sh + + mkdir -p /usr/local/include/pihole + cp /etc/.pihole/advanced/Scripts/piholeInclude /usr/local/include/pihole/piholeInclude echo " done." } diff --git a/automated install/uninstall.sh b/automated install/uninstall.sh index adbd8cd5..96582e37 100644 --- a/automated install/uninstall.sh +++ b/automated install/uninstall.sh @@ -82,3 +82,4 @@ rm /usr/local/bin/piholeSetPermissions.sh rm /usr/local/bin/piholeLogFlush.sh rm /usr/local/bin/updateDashboard.sh rm -rf /etc/pihole/ +rm -rf /usr/local/include/pihole