diff options
author | Tomas Krizek <tomas.krizek@nic.cz> | 2020-01-20 12:30:35 +0100 |
---|---|---|
committer | Tomas Krizek <tomas.krizek@nic.cz> | 2020-01-21 17:20:39 +0100 |
commit | a29eab5d65439fe83eec6046029fc023c5e04c9b (patch) | |
tree | 810d00b18f9f3f5dfd5fe92338056291326ea8cc /distro | |
parent | doc: update man kresd.8 (diff) | |
download | knot-resolver-a29eab5d65439fe83eec6046029fc023c5e04c9b.tar.xz knot-resolver-a29eab5d65439fe83eec6046029fc023c5e04c9b.zip |
distro/arch: point users to upgrading guide during upgrade
Diffstat (limited to 'distro')
-rw-r--r-- | distro/arch/PKGBUILD | 2 | ||||
-rw-r--r-- | distro/arch/install | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/distro/arch/PKGBUILD b/distro/arch/PKGBUILD index c1609daa..8965d499 100644 --- a/distro/arch/PKGBUILD +++ b/distro/arch/PKGBUILD @@ -1,4 +1,4 @@ -# Maintainer: Tomas Krizek <tomas.krizek@mailbox.org> +# Maintainer: Tomas Krizek <tomas.krizek@nic.cz> # Contributor: Ondřej Surý <ondrej@sury.org> pkgname=knot-resolver diff --git a/distro/arch/install b/distro/arch/install index de23d593..26ef3d19 100644 --- a/distro/arch/install +++ b/distro/arch/install @@ -6,6 +6,11 @@ post_install() { post_upgrade() { chown -R root:knot-resolver /etc/knot-resolver + + if echo $2 | grep -q '^[0-4]'; then + echo -e " Knot Resolver version 5+ uses a different configuration for network interfaces." + echo -e " Please refer to https://knot-resolver.readthedocs.io/en/stable/upgrading.html" + fi } post_remove() { |