From 70be44f3d0125218858a2fba082307096c5baa11 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Wed, 26 Aug 2009 14:44:51 +0200 Subject: [PATCH] Upgrade bind separately. --- src/actions/main.queue | 1 + src/functions.sh | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/src/actions/main.queue b/src/actions/main.queue index 98574fb..42e7d1b 100644 --- a/src/actions/main.queue +++ b/src/actions/main.queue @@ -41,6 +41,7 @@ pkg openldap-aai upgrade_openldap pkg amavisd-new upgrade_amavis pkg apache2-cn upgrade_apache2 pkg postfix-cn upgrade_postfix +pkg bind9-cn upgrade_bind # ntp i ntpdate se ne pokrenu ispravno bez lockanja pkg ntp && pkg ntpdate pkgadd lockfile-progs true upgrade_postgresql diff --git a/src/functions.sh b/src/functions.sh index b1718c4..209bbe7 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -1137,6 +1137,13 @@ upgrade_postfix () { fi } +# upgrade bind separately so DNS is not down for too long +# or breaks postinst scripts of other cn packages that depend on +# working resolver +upgrade_bind() { + pkgadd bind9-cn +} + get_variable () { local name=$1 file=$2 val -- 1.7.10.4