Package: liblockfile
Version: 1.06
Severity: normal
Tags: patch

Hi,
the liblockfile packages still put symlinks in /usr/doc, although this
is now deprecated.  Please apply the attached patch, which removes the
symlink creation code from the packages' postinsts.

Thanks,
Julien Cristau

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
diff -Nru liblockfile-1.06/debian/postinst liblockfile-1.06.new/debian/postinst
--- liblockfile-1.06/debian/postinst    2001-03-17 05:08:32.000000000 +0100
+++ liblockfile-1.06.new/debian/postinst        2005-08-12 21:45:27.383135396 
+0200
@@ -4,8 +4,5 @@
 
 if [ "$1" = "configure" ]; then
        ldconfig
-        if [ -d /usr/doc -a ! -e /usr/doc/liblockfile1 -a -d 
/usr/share/doc/liblockfile1 ]; then
-                ln -sf ../share/doc/liblockfile1 /usr/doc/liblockfile1
-        fi
 fi
 
diff -Nru liblockfile-1.06/debian/postinst.liblockfile-dev 
liblockfile-1.06.new/debian/postinst.liblockfile-dev
--- liblockfile-1.06/debian/postinst.liblockfile-dev    2001-03-17 
05:08:33.000000000 +0100
+++ liblockfile-1.06.new/debian/postinst.liblockfile-dev        1970-01-01 
01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-#! /bin/sh
-
-set -e
-
-if [ "$1" = "configure" ]; then
-        if [ -d /usr/doc -a ! -e /usr/doc/liblockfile-dev -a -d 
/usr/share/doc/liblockfile-dev ]; then
-                ln -sf ../share/doc/liblockfile-dev /usr/doc/liblockfile1
-        fi
-fi
-
diff -Nru liblockfile-1.06/debian/rules liblockfile-1.06.new/debian/rules
--- liblockfile-1.06/debian/rules       2003-05-15 14:16:10.000000000 +0200
+++ liblockfile-1.06.new/debian/rules   2005-08-12 21:46:58.770305791 +0200
@@ -85,8 +85,6 @@
        gzip -9f $(tmp)/usr/share/doc/liblockfile-dev/*
        install -o root -m 644 COPYRIGHT \
                $(tmp)/usr/share/doc/liblockfile-dev/copyright
-       install -o root -m 755 debian/postinst.liblockfile-dev \
-               $(tmp)/DEBIAN/postinst
        install -o root -m 755 debian/prerm.liblockfile-dev \
                $(tmp)/DEBIAN/prerm
        dpkg-gencontrol -pliblockfile-dev -P$(tmp) -isp

Attachment: signature.asc
Description: Digital signature

Reply via email to