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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user