d7b377b874
validation in the DNS notify/transfer-chain. WWW: http://www.nlnetlabs.nl/projects/credns/ PR: ports/169732 Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl>
16 lines
349 B
Bash
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
|