tags 687857 + pending thanks Dear maintainer,
I've prepared an NMU for linux-atm (versioned as 1:2.5.1-1.5) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer. Regards, Salvatore
diff -Nru linux-atm-2.5.1/debian/changelog linux-atm-2.5.1/debian/changelog --- linux-atm-2.5.1/debian/changelog 2012-07-03 03:03:50.000000000 +0200 +++ linux-atm-2.5.1/debian/changelog 2012-09-22 16:18:14.000000000 +0200 @@ -1,3 +1,13 @@ +linux-atm (1:2.5.1-1.5) unstable; urgency=low + + * Non-maintainer upload. + * Correct directory in libatm1-dev.postinst. + Correct the directory checked for the directory symlink migration to be + /usr/share/doc/libatm1-dev for the libatm1-dev binary package. It + wrongly refered to /usr/share/doc/atm-tools. (Closes: #687857) + + -- Salvatore Bonaccorso <car...@debian.org> Sat, 22 Sep 2012 11:03:25 +0200 + linux-atm (1:2.5.1-1.4) unstable; urgency=low * Non-maintainer upload. diff -Nru linux-atm-2.5.1/debian/libatm1-dev.postinst linux-atm-2.5.1/debian/libatm1-dev.postinst --- linux-atm-2.5.1/debian/libatm1-dev.postinst 2011-10-30 15:35:30.000000000 +0100 +++ linux-atm-2.5.1/debian/libatm1-dev.postinst 2012-09-22 16:18:14.000000000 +0200 @@ -3,12 +3,15 @@ upgrade_quirks() { [ "$2" ] || return 0 - dpkg --compare-versions $2 lt 1:2.5.1-1.3 || return 0 + dpkg --compare-versions $2 lt 1:2.5.1-1.5 || return 0 # replaced by a symlink in 1:2.5.1-1.3, but dpkg fails to do it on upgrades - if [ -d /usr/share/doc/atm-tools -a ! -L /usr/share/doc/atm-tools ] ; then - rmdir /usr/share/doc/atm-tools - ln -s /usr/share/doc/libatm1 /usr/share/doc/atm-tools + # furthermore the postinst had a bug in 1:2.5.1-1.4 handling wrongly the + # /usr/share/doc/libatm1-dev directory (it refered to /usr/share/doc/atm-tools + # previously + if [ -d /usr/share/doc/libatm1-dev -a ! -L /usr/share/doc/libatm1-dev ] ; then + rmdir /usr/share/doc/libatm1-dev + ln -s /usr/share/doc/libatm1 /usr/share/doc/libatm1-dev fi return 0
signature.asc
Description: Digital signature