From 557146fe359d07b093ab676a653b86786e339877 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Mon, 19 Jul 2004 09:04:13 +0000 Subject: [PATCH] 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. --- sysutils/gkrellm2/pkg-plist | 6 +++--- 1 file 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