aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-12-20 14:30:43 +0800
committerume <ume@FreeBSD.org>2004-12-20 14:30:43 +0800
commit49c7470ccf6628d06e77a7f3123fa5569cb3af14 (patch)
tree5d7a981a13bba435b4880f21ddbd8825d9e460fa /sysutils
parent4de5c7ebfc011e5becdac959078cfc98223f7596 (diff)
downloadfreebsd-ports-gnome-49c7470ccf6628d06e77a7f3123fa5569cb3af14.tar.gz
freebsd-ports-gnome-49c7470ccf6628d06e77a7f3123fa5569cb3af14.tar.zst
freebsd-ports-gnome-49c7470ccf6628d06e77a7f3123fa5569cb3af14.zip
make sure to remove plugin directory at deinstall.
Reported by: pointyhat via kris
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gkrellm2/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/gkrellm2/pkg-plist b/sysutils/gkrellm2/pkg-plist
index 57e657d7f8c8..02206a9bf76e 100644
--- a/sysutils/gkrellm2/pkg-plist
+++ b/sysutils/gkrellm2/pkg-plist
@@ -5,6 +5,8 @@ sbin/gkrellmd
%%PORTDOCS%%share/doc/gkrellm/Themes.html
%%PORTDOCS%%@dirrm share/doc/gkrellm
@exec mkdir -p %D/libexec/gkrellm2/plugins-gkrellmd
+@unexec rmdir %D/libexec/gkrellm2/plugins-gkrellmd 2>/dev/null || true
+@unexec rmdir %D/libexec/gkrellm2 2>/dev/null || true
@unexec if cmp -s %D/etc/gkrellmd.conf %D/%%EXAMPLESDIR%%/gkrellmd.conf; then rm -f %D/etc/gkrellmd.conf; fi
%%EXAMPLESDIR%%/gkrellmd.conf
@exec [ -f %D/etc/gkrellmd.conf ] || cp %B/%f %D/etc/gkrellmd.conf