summaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm2/pkg-plist
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-07-19 09:04:13 +0000
committerume <ume@FreeBSD.org>2004-07-19 09:04:13 +0000
commitb2149d0efa97e6fefc8322efb0b3ff1795e56c6e (patch)
tree3acddd5ce6f70e912997a1c64d01969101f4ecf5 /sysutils/gkrellm2/pkg-plist
parent19a1e06f8b9072bf0973a53c4efefd54cdbf4d59 (diff)
downloadFreeBSD-ports-b2149d0efa97e6fefc8322efb0b3ff1795e56c6e.zip
FreeBSD-ports-b2149d0efa97e6fefc8322efb0b3ff1795e56c6e.tar.gz
Fix deinstall. ${PREFIX}/etc/gkrellmd.conf was not deinstalled
even when it was not changed, Since I found this problem, I didn't accect it. However, I've completely forgot it.
Diffstat (limited to 'sysutils/gkrellm2/pkg-plist')
-rw-r--r--sysutils/gkrellm2/pkg-plist6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/gkrellm2/pkg-plist b/sysutils/gkrellm2/pkg-plist
index 9d126da..57e657d 100644
--- a/sysutils/gkrellm2/pkg-plist
+++ b/sysutils/gkrellm2/pkg-plist
@@ -5,11 +5,11 @@ sbin/gkrellmd
%%PORTDOCS%%share/doc/gkrellm/Themes.html
%%PORTDOCS%%@dirrm share/doc/gkrellm
@exec mkdir -p %D/libexec/gkrellm2/plugins-gkrellmd
-@unexec if cmp -s %D/etc/gkrellmd.conf %%EXAMPLESDIR%%/gkrellmd.conf; then rm -f %D/etc/gkrellmd.conf; fi
+@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 %B/gkrellmd.conf ] || cp %B/%f %B/gkrellmd.conf
-etc/rc.d/gkrellmd.sh
+@exec [ -f %D/etc/gkrellmd.conf ] || cp %B/%f %D/etc/gkrellmd.conf
@dirrm %%EXAMPLESDIR%%
+etc/rc.d/gkrellmd.sh
@cwd %%X11BASE%%
%%CLIENT%%include/gkrellm2/gkrellm.h
%%CLIENT%%include/gkrellm2/gkrellm-public-proto.h
OpenPOWER on IntegriCloud