aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-09-24 10:58:51 +0800
committerkris <kris@FreeBSD.org>2000-09-24 10:58:51 +0800
commit8f61f76535bb47bc82e365cef726815cdec817ec (patch)
tree9dd20718c40ce7b4b28290134a281b42bfb7d198
parent29f7262fe4de4fced4f9807ba240e3e002361ae6 (diff)
downloadfreebsd-ports-gnome-8f61f76535bb47bc82e365cef726815cdec817ec.tar.gz
freebsd-ports-gnome-8f61f76535bb47bc82e365cef726815cdec817ec.tar.zst
freebsd-ports-gnome-8f61f76535bb47bc82e365cef726815cdec817ec.zip
Remove config file on deinstall if unchanged from the default.
-rw-r--r--www/surfraw/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/surfraw/pkg-plist b/www/surfraw/pkg-plist
index cda4d07d3ade..13f08958820e 100644
--- a/www/surfraw/pkg-plist
+++ b/www/surfraw/pkg-plist
@@ -33,6 +33,7 @@ bin/webster
bin/wetandwild
bin/xxx
bin/yahoo
+@unexec if cmp -s %D/etc/surfraw.conf %D/share/examples/surfraw/surfraw.conf; then rm -f %D/etc/surfraw.conf; fi
share/examples/surfraw/surfraw.conf
share/surfraw/surfraw_elvi.list
@dirrm share/examples/surfraw