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

View file

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