From: Valentin Vidic Date: Fri, 13 Dec 2013 08:10:56 +0000 (+0100) Subject: Preload debconf settings. X-Git-Tag: debian/7.0.10~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=24ef90a0357f00ca2eeafe398c1de5d55e369509;p=carnet-upgrade.git Preload debconf settings. --- diff --git a/src/actions/main.queue b/src/actions/main.queue index 0ab021f..4b4bfa1 100644 --- a/src/actions/main.queue +++ b/src/actions/main.queue @@ -27,6 +27,7 @@ true install_keyrings # install new keys # popravi konfiguracije koje stvaraju probleme true restore_configs true upgrade_syslog +true debconf_preload pkg munin-cn upgrade_munin # konacno, instalacija novih paketa pkg amavisd-new upgrade_amavis diff --git a/src/functions.sh b/src/functions.sh index 56fab41..994f765 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -744,6 +744,11 @@ restore_configs () { fi } +# load various debconf defaults +debconf_preload () { + echo libc6 libraries/restart-without-asking boolean true | debconf-set-selections +} + # temporary disable listchanges packages to reduce clutter during upgrade apt_listchanges () { local file command=$1