aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-07-19 17:04:13 +0800
committerume <ume@FreeBSD.org>2004-07-19 17:04:13 +0800
commitb2149d0efa97e6fefc8322efb0b3ff1795e56c6e (patch)
tree3acddd5ce6f70e912997a1c64d01969101f4ecf5 /sysutils
parent19a1e06f8b9072bf0973a53c4efefd54cdbf4d59 (diff)
downloadfreebsd-ports-gnome-b2149d0efa97e6fefc8322efb0b3ff1795e56c6e.tar.gz
freebsd-ports-gnome-b2149d0efa97e6fefc8322efb0b3ff1795e56c6e.tar.zst
freebsd-ports-gnome-b2149d0efa97e6fefc8322efb0b3ff1795e56c6e.zip
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')
-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 9d126da448a2..57e657d7f8c8 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