From 49c7470ccf6628d06e77a7f3123fa5569cb3af14 Mon Sep 17 00:00:00 2001 From: ume Date: Mon, 20 Dec 2004 06:30:43 +0000 Subject: make sure to remove plugin directory at deinstall. Reported by: pointyhat via kris --- sysutils/gkrellm2/pkg-plist | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysutils') 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 -- cgit