From 2b2c9a4d2f0a015d1605184f3d4c715588f65296 Mon Sep 17 00:00:00 2001 From: Olivier Cochard Date: Thu, 23 Jun 2022 22:32:13 +0200 Subject: dns/nextdns: Prevent to delete its configuration file after each upgrade Approved by: rs@nextdns.io (maintainer) --- dns/nextdns/Makefile | 2 +- dns/nextdns/pkg-deinstall | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'dns') diff --git a/dns/nextdns/Makefile b/dns/nextdns/Makefile index 7f4baf3a6c0c..073f5932279b 100644 --- a/dns/nextdns/Makefile +++ b/dns/nextdns/Makefile @@ -1,6 +1,6 @@ PORTNAME= nextdns PORTVERSION= 1.37.11 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= dns security diff --git a/dns/nextdns/pkg-deinstall b/dns/nextdns/pkg-deinstall index 803dfdb4e81e..c67e487f45b0 100644 --- a/dns/nextdns/pkg-deinstall +++ b/dns/nextdns/pkg-deinstall @@ -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 -- cgit v1.2.3