Bug#334345: invalid test expression in preinst

2005-10-24 Thread Paul Vojta
On Mon, Oct 17, 2005 at 01:20:47PM +0200, Michal Cihar wrote: > - if [ "$2" -eq "" ]; then > + if [ "$2" = "" ]; then Better yet: if [ -z "$2" ]; then or at least: if [ "x$2" = "x" ]; then --Paul Vojta, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Bug#334345: invalid test expression in preinst

2005-10-17 Thread Michal Čihař
Package: x11-common Version: 6.8.2.dfsg.1-9 Severity: normal Tags: patch Hi The preinst script uses -eq for string comparsion, however correct is to use =. Otherwise you might get following error: Preparing to replace x11-common 6.8.2.dfsg.1-8 (using .../x11-common_6.8.2.dfsg.1-9_all.deb) ...