make sure to remove plugin directory at deinstall.

Reported by:	pointyhat via kris
This commit is contained in:
Hajimu UMEMOTO 2004-12-20 06:30:43 +00:00
parent b2b3887984
commit f95f63a364
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124553

View File

@ -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