mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Merge pull request #2674 from NiGhTTraX/development
Fix uninstalling lighttpd when it's not installed
This commit is contained in:
commit
b64fb578fc
@ -131,8 +131,7 @@ removeNoPurge() {
|
|||||||
echo -e " ${TICK} Removed /etc/cron.d/pihole"
|
echo -e " ${TICK} Removed /etc/cron.d/pihole"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
package_check lighttpd > /dev/null
|
if package_check lighttpd > /dev/null; then
|
||||||
if [[ $? -eq 1 ]]; then
|
|
||||||
${SUDO} rm -rf /etc/lighttpd/ &> /dev/null
|
${SUDO} rm -rf /etc/lighttpd/ &> /dev/null
|
||||||
echo -e " ${TICK} Removed lighttpd"
|
echo -e " ${TICK} Removed lighttpd"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user