Author: branden Date: 2004-03-11 02:12:41 -0500 (Thu, 11 Mar 2004) New Revision: 99
Modified: trunk/debian/libxft-dev.preinst Log: Fix thinko in diversion removal. Modified: trunk/debian/libxft-dev.preinst =================================================================== --- trunk/debian/libxft-dev.preinst 2004-02-20 03:09:54 UTC (rev 98) +++ trunk/debian/libxft-dev.preinst 2004-03-11 07:12:41 UTC (rev 99) @@ -15,20 +15,20 @@ for PKG in libxft-dev libxft2-dev; do if dpkg-divert --list /usr/X11R6/include/X11/Xft/Xft.h | \ grep "\<$PKG\$"; then - dpkg-divert --package libxft2-dev --remove --rename \ + dpkg-divert --package "$PKG" --remove --rename \ --divert /usr/X11R6/include/X11/Xft/Xft1.h \ /usr/X11R6/include/X11/Xft/Xft.h fi if dpkg-divert --list /usr/X11R6/lib/libXft.a | \ grep "\<$PKG\$"; then - dpkg-divert --package libxft2-dev --remove --rename \ + dpkg-divert --package "$PKG" --remove --rename \ --divert /usr/X11R6/lib/libXft1.a /usr/X11R6/lib/libXft.a fi if dpkg-divert --list /usr/X11R6/lib/libXft.so | \ grep "\<$PKG\$"; then - dpkg-divert --package libxft2-dev --remove --rename \ + dpkg-divert --package "$PKG" --remove --rename \ --divert /usr/X11R6/lib/libXft1.so /usr/X11R6/lib/libXft.so fi done