From 6aa5e5e3b58611ccdff1ba80d4175b2308cb2efe Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 2 Nov 2019 04:25:23 -0400 Subject: [PATCH] Add missing uninstall code --- CHANGELOG | 1 + bastille-init | 3 +++ version | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index f5dbb32..0274014 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,7 @@ ====================== Version Description +1.0.5......Add missing uninstall code. 1.0.4......Remove obsolete code, delete shutdown command upon uninstall. 1.0.3......Do not delete base releases with containers child. 1.0.2......Code and regex improvements. diff --git a/bastille-init b/bastille-init index aeda768..35276b3 100755 --- a/bastille-init +++ b/bastille-init @@ -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 diff --git a/version b/version index ee90284..90a27f9 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.0.4 +1.0.5