summaryrefslogtreecommitdiff
path: root/app-misc/redcore-live
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/redcore-live')
-rw-r--r--app-misc/redcore-live/redcore-live-314-r3.ebuild (renamed from app-misc/redcore-live/redcore-live-314-r2.ebuild)6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-misc/redcore-live/redcore-live-314-r2.ebuild b/app-misc/redcore-live/redcore-live-314-r3.ebuild
index 06e4dd54..fb74ccb6 100644
--- a/app-misc/redcore-live/redcore-live-314-r2.ebuild
+++ b/app-misc/redcore-live/redcore-live-314-r3.ebuild
@@ -21,3 +21,9 @@ RDEPEND=""
src_install() {
default
}
+
+pkg_prerm() {
+ if [ "$(rc-config list boot | grep redcorelive)" != "" ]; then
+ "${ROOT}"/sbin/rc-update del redcorelive boot > /dev/null 2>&1
+ fi
+}