summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-07-26 23:24:21 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-07-26 23:24:21 +0100
commitfd16270886744aca51e07aff25e16051638ba261 (patch)
tree0ba21a3862b33c95f61fe649d54e3b370d25fa29
parente9152f50020c8a8b362cbbabfc8d2a0c6e895c5f (diff)
remove dead symlinks after kogaion-live removal
-rw-r--r--app-misc/kogaion-live/kogaion-live-2-r1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-misc/kogaion-live/kogaion-live-2-r1.ebuild b/app-misc/kogaion-live/kogaion-live-2-r1.ebuild
index d72402f9..174dd930 100644
--- a/app-misc/kogaion-live/kogaion-live-2-r1.ebuild
+++ b/app-misc/kogaion-live/kogaion-live-2-r1.ebuild
@@ -30,3 +30,9 @@ src_install() {
emake DESTDIR="${D}" SYSTEMD_UNITDIR="$(systemd_get_unitdir)" \
install || die
}
+
+pkg_postrm() {
+ for service in "x-setup.service" "cdeject.service" "installer-text.service" "installer-gui.service" "graphical_start.service" "kogaionlive.service" ; do
+ find "${ROOT}etc/systemd/system" -name "$service" -delete
+ done
+}