Browse Source

* In debconf test, also test for DEBCONF_READFD being set, to detect when

tasksel is being run with a passthrough debconf frontend configured,
keep-around/43e990ab3f4cc50982f8dbc32e3465ca7c827876
Joey Hess 17 years ago
parent
commit
ccf68ff528
  1. 7
      debian/changelog
  2. 2
      tests/debconf

7
debian/changelog

@ -1,3 +1,10 @@
tasksel (2.37) UNRELEASED; urgency=low
* In debconf test, also test for DEBCONF_READFD being set, to detect when
tasksel is being run with a passthrough debconf frontend configured,
-- Joey Hess <joeyh@debian.org> Sun, 4 Dec 2005 17:25:15 -0500
tasksel (2.36) unstable; urgency=low
* Hmm, remove --logfile and --logstderr, add more general

2
tests/debconf

@ -10,7 +10,7 @@
# This will cause the task to be available only if tasksel is not running
# in debconf.
if [ "$DEBIAN_HAS_FRONTEND" ]; then
if [ "$DEBIAN_HAS_FRONTEND" ] || [ "$DEBCONF_READFD" ]; then
if [ "$2" = true ]; then
exit 3 # display task, not marked for installation
fi

Loading…
Cancel
Save