dns/nextdns: Prevent to delete its configuration file after each upgrade
Approved by: rs@nextdns.io (maintainer)
This commit is contained in:
parent
1551bd093f
commit
2b2c9a4d2f
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= nextdns
|
PORTNAME= nextdns
|
||||||
PORTVERSION= 1.37.11
|
PORTVERSION= 1.37.11
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= dns security
|
CATEGORIES= dns security
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ if [ x"$2" != x"DEINSTALL" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${PKG_PREFIX}/nextdns uninstall >/dev/null 2>/dev/null
|
${PKG_PREFIX}/nextdns uninstall >/dev/null 2>/dev/null
|
||||||
rm -f ${PKG_PREFIX}/etc/nextdns.conf
|
|
||||||
|
echo "==> If you are uninstalling nextdns permanently,"
|
||||||
|
echo " and you do *NOT* want to retain the configuration file,"
|
||||||
|
echo " you should manually delete ${PKG_PREFIX}/etc/nextdns.conf"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue