Author: branden Date: 2003-08-27 02:19:32 -0500 (Wed, 27 Aug 2003) New Revision: 441
Modified: trunk/debian/changelog trunk/debian/xserver-common.postrm.in trunk/debian/xserver-xfree86.postrm.in Log: debian/xserver-{common,xfree86}.postrm.in: fix horrendous paper-bag bug (failure to give fgrep a file to operate on, causing it to wait forever on standart input) that prevented xserver-common and xserver-xfree86 from being able to purge under some circumstances (thanks, Ingo Saitz) (Closes: #207305) Modified: trunk/debian/changelog =================================================================== --- trunk/debian/changelog 2003-08-27 07:10:29 UTC (rev 440) +++ trunk/debian/changelog 2003-08-27 07:19:32 UTC (rev 441) @@ -46,8 +46,14 @@ - debian/local/xvfb-run: implement - debian/local/xvfb-run.1: document - -- Branden Robinson <[EMAIL PROTECTED]> Tue, 26 Aug 2003 18:30:28 -0500 + * debian/xserver-{common,xfree86}.postrm.in: fix horrendous paper-bag bug + (failure to give fgrep a file to operate on, causing it to wait forever on + standart input) that prevented xserver-common and xserver-xfree86 from + being able to purge under some circumstances (thanks, Ingo Saitz) + (Closes: #207305) + -- Branden Robinson <[EMAIL PROTECTED]> Wed, 27 Aug 2003 02:16:50 -0500 + xfree86 (4.2.1-10) unstable; urgency=medium * patch #000_stolen_from_HEAD_xlib: fix for buffer overflow in Modified: trunk/debian/xserver-common.postrm.in =================================================================== --- trunk/debian/xserver-common.postrm.in 2003-08-27 07:10:29 UTC (rev 440) +++ trunk/debian/xserver-common.postrm.in 2003-08-27 07:19:32 UTC (rev 441) @@ -33,7 +33,8 @@ # check existing roster file for our package name if fgrep -qx "$THIS_PACKAGE" "$XWRAPPER_CONFIG_ROSTER"; then # construct temporary roster file with our package name removed - fgrep -vx "$THIS_PACKAGE" > "$XWRAPPER_CONFIG_ROSTER.dpkg-tmp" + fgrep -vx "$THIS_PACKAGE" "$XWRAPPER_CONFIG_ROSTER" > \ + "$XWRAPPER_CONFIG_ROSTER.dpkg-tmp" # is there anything left? if [ -n "$(cat "$XWRAPPER_CONFIG_ROSTER.dpkg-tmp")" ]; then # yes, replace the roster file Modified: trunk/debian/xserver-xfree86.postrm.in =================================================================== --- trunk/debian/xserver-xfree86.postrm.in 2003-08-27 07:10:29 UTC (rev 440) +++ trunk/debian/xserver-xfree86.postrm.in 2003-08-27 07:19:32 UTC (rev 441) @@ -30,7 +30,8 @@ # check existing roster file for our package name if fgrep -qx "$THIS_PACKAGE" "$SERVER_SYMLINK_ROSTER"; then # construct temporary roster file with our package name removed - fgrep -vx "$THIS_PACKAGE" > "$SERVER_SYMLINK_ROSTER.dpkg-tmp" + fgrep -vx "$THIS_PACKAGE" "$SERVER_SYMLINK_ROSTER" > \ + "$SERVER_SYMLINK_ROSTER.dpkg-tmp" # is there anything left? if [ -n "$(cat "$SERVER_SYMLINK_ROSTER.dpkg-tmp")" ]; then # yes, replace the roster file @@ -64,7 +65,8 @@ # check existing roster file for our package name if fgrep -qx "$THIS_PACKAGE" "$XF86CONFIG_ROSTER"; then # construct temporary roster file with our package name removed - fgrep -vx "$THIS_PACKAGE" > "$XF86CONFIG_ROSTER.dpkg-tmp" + fgrep -vx "$THIS_PACKAGE" "$XF86CONFIG_ROSTER" > \ + "$XF86CONFIG_ROSTER.dpkg-tmp" # is there anything left? if [ -n "$(cat "$XF86CONFIG_ROSTER.dpkg-tmp")" ]; then # yes, replace the roster file -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]