Upgrade bind separately.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Wed, 26 Aug 2009 12:44:51 +0000 (14:44 +0200)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Wed, 26 Aug 2009 12:44:51 +0000 (14:44 +0200)
src/actions/main.queue
src/functions.sh

index 98574fb..42e7d1b 100644 (file)
@@ -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
index b1718c4..209bbe7 100644 (file)
@@ -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