From 13745214722e5a7b65828d6f981f96032611b58a Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 28 Jun 2011 11:54:28 +0200 Subject: [PATCH] scripts/release_helper.sh: force confmiss and confnew options when installing package so automated installation works when having modified configuration files. --- scripts/release_helper.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/release_helper.sh b/scripts/release_helper.sh index 2a2a43d..40c532d 100755 --- a/scripts/release_helper.sh +++ b/scripts/release_helper.sh @@ -110,9 +110,14 @@ if [ -n "${AUTOBUILD:-}" ] ; then ) git checkout master git branch -D ${autobuild_branch} || true + env APT_LISTCHANGES_FRONTEND=none APT_LISTBUGS_FRONTEND=none sudo apt-get update + PACKAGES=$(dpkg --list grml-live\* | awk '/^ii/ {print $2}') - env APT_LISTCHANGES_FRONTEND=none APT_LISTBUGS_FRONTEND=none sudo apt-get -y --allow-unauthenticated install $PACKAGES + env APT_LISTCHANGES_FRONTEND=none APT_LISTBUGS_FRONTEND=none sudo apt-get -y \ + -o DPkg::Options::=--force-confmiss \ + -o DPkg::Options::=--force-confnew \ + --allow-unauthenticated install $PACKAGES fi ## END OF FILE ################################################################# -- 2.1.4