--- xorg.old/debian/x11-common.postrm.in Mon Jul 14 15:12:16 2008 +++ /opt/emdebian/trunk/x/xorg/trunk/xorg-7.3+14/debian/x11-common.postrm.in Mon Jul 14 15:12:16 2008 @@ -23,10 +23,10 @@ # de-register this package as a handler of the X server wrapper config file if [ -e "$XWRAPPER_CONFIG_ROSTER" ]; then # check existing roster file for our package name - if fgrep -qx "$THIS_PACKAGE" "$XWRAPPER_CONFIG_ROSTER" 2>/dev/null; then + if fgrep -q "$THIS_PACKAGE" "$XWRAPPER_CONFIG_ROSTER" 2>/dev/null; then # construct temporary roster file with our package name removed, ignoring # failure - fgrep -vx "$THIS_PACKAGE" "$XWRAPPER_CONFIG_ROSTER" > \ + fgrep -v "$THIS_PACKAGE" "$XWRAPPER_CONFIG_ROSTER" > \ "$XWRAPPER_CONFIG_ROSTER.dpkg-tmp" 2>/dev/null || true # is there anything left? if [ -s "$XWRAPPER_CONFIG_ROSTER.dpkg-tmp" ]; then