Preload debconf settings.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Fri, 13 Dec 2013 08:10:56 +0000 (09:10 +0100)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Fri, 13 Dec 2013 08:10:56 +0000 (09:10 +0100)
src/actions/main.queue
src/functions.sh

index 0ab021f..4b4bfa1 100644 (file)
@@ -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
index 56fab41..994f765 100644 (file)
@@ -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