From 24ef90a0357f00ca2eeafe398c1de5d55e369509 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Fri, 13 Dec 2013 09:10:56 +0100 Subject: [PATCH] Preload debconf settings. --- src/actions/main.queue | 1 + src/functions.sh | 5 +++++ 2 files changed, 6 insertions(+) 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 -- 1.7.10.4