Package: netcdf Version: 3.5.0-7.1 Severity: normal Tags: patch Hi,
in order to complete the /usr/doc -> /usr/share/doc transition, netcdf needs to stop creating symlinks in /usr/doc from its postinst. Please apply the attached patch. 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 netcdf-3.5.0.orig/debian/postinst netcdf-3.5.0/debian/postinst --- netcdf-3.5.0.orig/debian/postinst 2005-08-13 00:43:19.554778163 +0200 +++ netcdf-3.5.0/debian/postinst 2005-08-13 00:43:52.872642438 +0200 @@ -2,7 +2,4 @@ if [ "$1" = "configure" ]; then ldconfig - pkg=netcdf - if test -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg; then - ln -sf ../share/doc/$pkg /usr/doc/$pkg; fi fi diff -Nru netcdf-3.5.0.orig/debian/rules netcdf-3.5.0/debian/rules --- netcdf-3.5.0.orig/debian/rules 2005-08-13 00:43:19.555777979 +0200 +++ netcdf-3.5.0/debian/rules 2005-08-13 00:50:49.864850322 +0200 @@ -141,9 +141,6 @@ install -d debian/tmp-altdev/usr/share/doc/$(package)-altdev/examples # Install Debian package control information files sed -e 's/netcdf/$(package)-altdev/; /ldconfig/d' \ - < debian/postinst > debian/tmp-altdev/DEBIAN/postinst - chmod 755 debian/tmp-altdev/DEBIAN/postinst - sed -e 's/netcdf/$(package)-altdev/; /ldconfig/d' \ < debian/prerm > debian/tmp-altdev/DEBIAN/prerm chmod 755 debian/tmp-altdev/DEBIAN/prerm # Install directories @@ -227,15 +224,9 @@ install -d debian/tmp-bin/usr/share/doc/$(package)-bin # Install Debian package control information files sed -e 's/netcdf/$(package)g-dev/; /ldconfig/d' \ - < debian/postinst > debian/tmp-dev/DEBIAN/postinst - chmod 755 debian/tmp-dev/DEBIAN/postinst - sed -e 's/netcdf/$(package)g-dev/; /ldconfig/d' \ < debian/prerm > debian/tmp-dev/DEBIAN/prerm chmod 755 debian/tmp-dev/DEBIAN/prerm sed -e 's/netcdf/$(package)-bin/; /ldconfig/d' \ - < debian/postinst > debian/tmp-bin/DEBIAN/postinst - chmod 755 debian/tmp-bin/DEBIAN/postinst - sed -e 's/netcdf/$(package)-bin/; /ldconfig/d' \ < debian/prerm > debian/tmp-bin/DEBIAN/prerm chmod 755 debian/tmp-bin/DEBIAN/prerm # Install directories
signature.asc
Description: Digital signature