freebsd-ports/dns/credns/files/pkg-deinstall.in
Michael Scheidell d7b377b874 Credns is a software program aimed at fortifying DNSSEC by performing
validation in the DNS notify/transfer-chain.

WWW:	http://www.nlnetlabs.nl/projects/credns/

PR:		ports/169732
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl>
2012-08-12 21:00:32 +00:00

16 lines
349 B
Bash

#!/bin/sh
# $FreeBSD$
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
CREDNSDBDIR=%%CREDNSDBDIR%%
CREDNSRUNDIR=%%CREDNSRUNDIR%%
if [ "$2" = "POST-DEINSTALL" ]; then
echo "=> Deleting ${CREDNSDBDIR} if empty..."
rm -d ${CREDNSDBDIR} 2>/dev/null || true
echo "=> Deleting ${CREDNSRUNDIR} if empty..."
rm -d ${CREDNSRUNDIR} 2>/dev/null || true
fi
exit 0