Package: doc-linux-it Version: 2003.12-1 Severity: normal Tags: patch Hi,
Attached is the diff for my doc-linux-it 2003.12-1.1 NMU. Please disregard the previous one, as it didn't really work, as some deeper testing prooved. Sorry for the noise! -- .''`. Fuck your fascist beauty standards : :' : `. `' Proudly running unstable Debian GNU/Linux `- www.amayita.com www.malapecora.com www.chicasduras.com
diff -u doc-linux-it-2003.12/debian/changelog doc-linux-it-2003.12/debian/changelog --- doc-linux-it-2003.12/debian/changelog +++ doc-linux-it-2003.12/debian/changelog @@ -1,3 +1,10 @@ +doc-linux-it (2003.12-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Change postinst to remove the /usr/doc links (Closes: #359387, #359399). + + -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]> Thu, 13 Jul 2006 18:46:10 +0200 + doc-linux-it (2003.12-1) unstable; urgency=low * December 2003 release. @@ -265,3 +271,0 @@ -Local variables: -mode: debian-changelog -End: diff -u doc-linux-it-2003.12/debian/doc-linux-it.postinst doc-linux-it-2003.12/debian/doc-linux-it.postinst --- doc-linux-it-2003.12/debian/doc-linux-it.postinst +++ doc-linux-it-2003.12/debian/doc-linux-it.postinst @@ -1,13 +1,12 @@ #!/bin/sh -e if [ "$1" = "configure" ]; then - if [ -d /usr/doc -a ! -e /usr/doc/doc-linux-it \ - -a -d /usr/share/doc/doc-linux-it ]; then - ln -sf ../share/doc/doc-linux-it /usr/doc/doc-linux-it - fi - if [ -d /usr/doc -a ! -e /usr/doc/HOWTO -a -d /usr/share/doc/HOWTO ]; then - ln -sf ../share/doc/HOWTO /usr/doc/HOWTO - fi + if [ -d /usr/doc -a -h /usr/doc/doc-linux-it -a -d /usr/share/doc/doc-linux-it ]; then + rm -f /usr/doc/doc-linux-it + fi + if [ -d /usr/doc -a -h /usr/doc/HOWTO -a -d /usr/share/doc/HOWTO ]; then + rm -f /usr/doc/HOWTO + fi fi if [ "$1" = configure ] && command -v install-docs >/dev/null 2>&1; then diff -u doc-linux-it-2003.12/debian/doc-linux-it-text.postinst doc-linux-it-2003.12/debian/doc-linux-it-text.postinst --- doc-linux-it-2003.12/debian/doc-linux-it-text.postinst +++ doc-linux-it-2003.12/debian/doc-linux-it-text.postinst @@ -1,14 +1,12 @@ #!/bin/sh -e - if [ "$1" = "configure" ]; then - if [ -d /usr/doc -a ! -e /usr/doc/doc-linux-it-text \ - -a -d /usr/share/doc/doc-linux-it-text ]; then - ln -sf ../share/doc/doc-linux-it-text /usr/doc/doc-linux-it-text - fi - if [ -d /usr/doc -a ! -e /usr/doc/HOWTO -a -d /usr/share/doc/HOWTO ]; then - ln -sf ../share/doc/HOWTO /usr/doc/HOWTO - fi + if [ -d /usr/doc -a -h /usr/doc/doc-linux-it-text -a -d /usr/share/doc/doc-linux-it-text ]; then + rm -f /usr/doc/doc-linux-it-text + fi + if [ -d /usr/doc -a -h /usr/doc/HOWTO -a -d /usr/share/doc/HOWTO ]; then + rm -f /usr/doc/HOWTO + fi fi #DEBHELPER#

