From: Valentin Vidic Date: Wed, 26 Aug 2009 12:44:51 +0000 (+0200) Subject: Upgrade bind separately. X-Git-Tag: debian/5.0.3~2 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=70be44f3d0125218858a2fba082307096c5baa11;p=carnet-upgrade.git Upgrade bind separately. --- 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