Re: DEBIAN_FRONTEND env.var case sensitivity
>>>>> On Mon, 4 Feb 2002 12:55:55 +0100, Wichert Akkerman <wichert@wiggy.net> said:
> Previously Jochen Voss wrote:
>> I ask because some NMU introduced a line like
>>
>> if [ "$DEBIAN_FRONTEND" != "Noninteractive" ] \
>>
>> into fdutil's postinst. Should this be changed then?
> Yes.
>> I guess the above line fixed a problem, so a simple
>> "$DEBIAN_FRONTEND" != "noninteractive" would break things
>> again. Maybe I should check for both versions?
> No, this is a bug in FAI which set the environment to
> Noninteractive incorrectly. Both fdutils (and libc6, and a few
> others) and FAI should be fixed to use all lowercase.
A litte script shows all packages, that do it the wrong way in postinst:
I hope it will be fixed soon. If not what serverity should that bug get?
debian/pool/main/e/exim/exim_3.34-1_i386.deb:
if [ "$DEBIAN_FRONTEND" != "Noninteractive" ]; then
debian/pool/main/e/exim/exim_3.33-1.1_i386.deb:
if [ "$DEBIAN_FRONTEND" != "Noninteractive" ]; then
debian/pool/main/f/fdutils/fdutils_5.3-5_i386.deb:
if [ "$DEBIAN_FRONTEND" != "Noninteractive" ] \
debian/pool/main/f/fdutils/fdutils_5.3-3.6_i386.deb:
if [ "$DEBIAN_FRONTEND" != "Noninteractive" ] && dpkg --compare-versions "$2" lt "5.2.0.1998-07-01-3"; then
debian/pool/main/g/glibc/libc6_2.2.4-7_i386.deb:
if [ "$DEBIAN_FRONTEND" = Noninteractive ]; then
if [ "$DEBIAN_FRONTEND" != Noninteractive ]; then
debian/pool/main/g/glibc/libc6_2.2.5-2_i386.deb:
if [ "$DEBIAN_FRONTEND" = Noninteractive ]; then
if [ "$DEBIAN_FRONTEND" != Noninteractive ]; then
debian/pool/main/m/mailman/mailman_2.0.8-3_i386.deb:
if [ ! "$DEBIAN_FRONTEND" = "Noninteractive" ]; then
debian/pool/main/m/mailman/mailman_2.0.8-2_i386.deb:
if [ ! "$DEBIAN_FRONTEND" = "Noninteractive" ]; then
debian/pool/main/n/norwegian/inorwegian_2.0-4_i386.deb:
if [ ! "$DEBIAN_FRONTEND" = "Noninteractive" ]; then
--
Thomas
Reply to: