From: Michael Prokop Date: Tue, 28 Jun 2011 09:54:28 +0000 (+0200) Subject: scripts/release_helper.sh: force confmiss and confnew options when installing package... X-Git-Tag: v0.15.0~16 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=13745214722e5a7b65828d6f981f96032611b58a scripts/release_helper.sh: force confmiss and confnew options when installing package so automated installation works when having modified configuration files. --- 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 #################################################################