Package: libbz2-dev
Version: 1.0.2-4
Severity: normal
Tags: patch

There is a slight typo in libbz2-dev.prerm, an opening bracket is
missing, causing the following message upon upgrade/remove:

/var/lib/dpkg/info/libbz2-dev.prerm: line 6: -L: command not found

Attached is a one-liner patch to fix this.

Cheers,
Jeremy

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libbz2-dev depends on:
ii  libbz2-1.0                  1.0.2-4      high-quality block-sorting file co
ii  libc6-dev [libc-dev]        2.3.2.ds1-20 GNU C Library: Development Librari

-- no debconf information
--- /var/lib/dpkg/info/libbz2-dev.prerm 2005-02-02 10:11:11.000000000 +0100
+++ libbz2-dev.prerm    2005-02-11 00:29:05.000000000 +0100
@@ -3,6 +3,6 @@
 
 # FHS
 pkg=libbz2-dev
-if ( [ "$1" = "upgrade" ] || [ "$1" = "remove" ] ) && -L /usr/doc/$pkg ]; then
+if ( [ "$1" = "upgrade" ] || [ "$1" = "remove" ] ) && [ -L /usr/doc/$pkg ]; 
then
   rm -f /usr/doc/$pkg
 fi

Reply via email to