dns/nextdns: Prevent to delete its configuration file after each upgrade

Approved by:	rs@nextdns.io (maintainer)
This commit is contained in:
Olivier Cochard 2022-06-23 22:32:13 +02:00
parent 1551bd093f
commit 2b2c9a4d2f
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= nextdns
PORTVERSION= 1.37.11
PORTREVISION= 1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= dns security

View file

@ -5,6 +5,9 @@ if [ x"$2" != x"DEINSTALL" ]; then
fi
${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