svn commit: r400033 - head/dns/pdnsd
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Oct 23 16:27:36 UTC 2015
Author: amdmi3
Date: Fri Oct 23 16:27:34 2015
New Revision: 400033
URL: https://svnweb.freebsd.org/changeset/ports/400033
Log:
- Implement clean deinstallation
PR: 203466
Submitted by: amdmi3
Approved by: maintainer timeout (ashish, 2 weeks)
Added:
head/dns/pdnsd/pkg-deinstall (contents, props changed)
Added: head/dns/pdnsd/pkg-deinstall
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/pdnsd/pkg-deinstall Fri Oct 23 16:27:34 2015 (r400033)
@@ -0,0 +1,6 @@
+#!/bin/sh
+PDNSDB=/var/db/pdnsd
+
+if [ "$2" = "DEINSTALL" ] ; then
+ rm -f ${PDNSDB}/pdnsd.cache
+fi
More information about the svn-ports-all
mailing list