Upgrade bind separately.
[carnet-upgrade.git] / src / functions.sh
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