Add missing uninstall code

This commit is contained in:
Jose committed 2019-11-02 04:25:23 -04:00
1 parent 8485d98d9b
commit 6aa5e5e3b5
3 files changed
+5 -1

No files matched your search

+3
View File
@@ -513,6 +513,9 @@ remove_addon()
if [ -f "${USRLOCAL}/etc/${APPNAME}.conf" ]; then
rm -f ${USRLOCAL}/etc/${APPNAME}.conf
fi
if [ -f "${BASTILLEPATH}/${APPNAME}" ]; then
rm -f ${BASTILLEPATH}/${APPNAME}
fi
if [ -f "${USRLOCAL}/sbin/${APPNAME}-init" ]; then
rm -rf ${USRLOCAL}/sbin/${APPNAME}-init
fi