summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2004-12-20 06:30:43 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2004-12-20 06:30:43 +0000
commitf95f63a3649ab835cfa3e7f2c53ab870abba927d (patch)
tree12b08bfa6748309e9dc61cdb40c4eba3ed3e3be2 /sysutils
parentUpdate a link in MASTER_SITES for 2.3 -> 2.4. (diff)
make sure to remove plugin directory at deinstall.
Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=124553
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