diff options
author | dancer <dancer> | 2003-09-03 23:07:21 +0000 |
---|---|---|
committer | dancer <dancer> | 2003-09-03 23:07:21 +0000 |
commit | ad8185260681f3bd63f776aa4ac796b2bb868c77 (patch) | |
tree | 2fb106370ee9093d208fa31a215bdd70ebfa3f5e /pbuilder-checkparams | |
parent | 34426e850bf31871a9f7f7921214c5dae774c055 (diff) | |
download | pbuilder-ad8185260681f3bd63f776aa4ac796b2bb868c77.tar pbuilder-ad8185260681f3bd63f776aa4ac796b2bb868c77.tar.gz |
+2003-09-04 Junichi Uekawa <dancer@debian.org>
+
+ * pbuilder-modules: fix typo in file existence checking.
+
+ * debian/TODO: how about passing "-o dpkg::Options=--force-confnew" to apt? is now done.
+ Request from Roland Stigge <ernie@atari.antcom.de>
+ to finally implement the missing feature.
+
+ * pbuilder-checkparams: set FORCE_CONFNEW array variable if
+ DEBIAN_FRONTEND is noninteractive to allow non-interactive install.
+
+ * pbuilder-updatebuildenv: use FORCE_CONFNEW variable to
+ give force-confnew option to DPKG
+
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams index 7ff2062..f29d958 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -201,6 +201,12 @@ case "$PBCURRENTCOMMANDLINEOPERATION" in # line from kobras@debian.org if [ "$DEBIAN_FRONTEND" = "noninteractive" -o "$DEBIAN_FRONTEND" = "Noninteractive" ]; then exec < /dev/null + + # set variables used in the upgrade option. + FORCE_CONFNEW[0]='-o' + FORCE_CONFNEW[1]='DPkg::Options::=--force-confnew' + else + unset FORCE_CONFNEW fi ;; esac |