Bug#474813: [Debconf-devel] Bug#474813: lprng/dpkg: preinst called with [ -z $1 ]

2008-04-07 Thread Craig Small
On Mon, Apr 07, 2008 at 07:32:10PM -0400, Joey Hess wrote: > This code contains the bug. By importing the conffmodule late, in a function, > you hide the settings of $@ from it. Or potentially worse, make $@ be > whatever is passed to the function. The main thing is there is a fix and its an easy f

Bug#474813: [Debconf-devel] Bug#474813: lprng/dpkg: preinst called with [ -z $1 ]

2008-04-07 Thread Joey Hess
Craig Small wrote: > On Mon, Apr 07, 2008 at 11:45:46PM +0200, Sven Joachim wrote: > > I've put a few lines with 'echo "$1"' into the lprng preinst, and it > > seems that $1 gets lost after the call to check_configfile_locations; > > since that function does not do anything obviously wrong to reset

Bug#474813: lprng/dpkg: preinst called with [ -z $1 ]

2008-04-07 Thread Craig Small
On Mon, Apr 07, 2008 at 11:45:46PM +0200, Sven Joachim wrote: > I've put a few lines with 'echo "$1"' into the lprng preinst, and it > seems that $1 gets lost after the call to check_configfile_locations; > since that function does not do anything obviously wrong to reset the > positional parameter

Bug#474813: lprng/dpkg: preinst called with [ -z $1 ]

2008-04-07 Thread Sven Joachim
reassign 474813 debconf thanks On 2008-04-07 21:54 +0200, Justin Pryzby wrote: > Package: lprng,dpkg > Versions: 3.8.28dfsg.1-1.1, 1.14.16.6 > > It seems unlikely, but this sure seems like a dpkg bug. > > Unpacking lprng (from .../lprng_3.8.28dfsg.1-1.1_amd64.deb) ... > preinst called with unknow

Bug#474813: lprng/dpkg: preinst called with [ -z $1 ]

2008-04-07 Thread Justin Pryzby
Package: lprng,dpkg Versions: 3.8.28dfsg.1-1.1, 1.14.16.6 It seems unlikely, but this sure seems like a dpkg bug. Unpacking lprng (from .../lprng_3.8.28dfsg.1-1.1_amd64.deb) ... preinst called with unknown argument `' /var/lib/dpkg/info/lprng.preinst: |case "$1" in |install|upgrade|abort-upgrade