Fix check for lighttpd install before configuration directory removal
This commit is contained in:
parent
b6639d9e7e
commit
0a423ffd40
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue