Fix check for lighttpd install before configuration directory removal

This commit is contained in:
trinapicot 2016-12-07 20:31:34 -07:00
parent b6639d9e7e
commit 0a423ffd40
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ removeNoPurge() {
fi
echo "::: Removing config files and scripts..."
package_check ${i} > /dev/null
package_check lighttpd > /dev/null
if [ $? -eq 1 ]; then
${SUDO} rm -rf /etc/lighttpd/ &> /dev/null
else