debian/xkb-data.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b4d73550cc7ca068f17bd146c7033d0ba45330cc Author: Mohammed Adnene Trojette <[EMAIL PROTECTED]> Date: Sun Jan 6 18:33:04 2008 +0100 Use "find -not -name" instead of "find | grep -v". diff --git a/debian/xkb-data.postinst b/debian/xkb-data.postinst index 3f1ccfe..adb634d 100644 --- a/debian/xkb-data.postinst +++ b/debian/xkb-data.postinst @@ -8,7 +8,7 @@ case "$1" in configure) if [ -d /etc/X11/xkb/ -a `find /etc/X11/xkb/ | wc -l` -ne 1 ] then - find /etc/X11/xkb/* | grep -v '/etc/X11/xkb/base.xml' | xargs --no-run-if-empty rm + find /etc/X11/xkb/* -not -name "base.xml*" | xargs --no-run-if-empty rm fi ;; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]