[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#446441: Info received (xserver-xorg: The problem is in regexp)



tags 446441 patch
thanks

Well I was wrong with underscore, it did also add other drivers which
should be removed. Attached patch seems to work correctly for me.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
diff -ruNp xorg-7.3+2.orig/debian/xserver-xorg.postinst.in xorg-7.3+2/debian/xserver-xorg.postinst.in
--- xorg-7.3+2.orig/debian/xserver-xorg.postinst.in	2007-09-17 05:21:48.000000000 +0900
+++ xorg-7.3+2/debian/xserver-xorg.postinst.in	2007-10-19 09:59:11.000000000 +0900
@@ -778,7 +778,7 @@ if [ -n "$FIRSTINST" ] || [ -n "$RECONFI
         # v4l is not a display driver, and dummy is for advanced users.
         DRIVER_LIST="$(find $REAL_DRIVER_DIRS -name '*_drv.*' \
                        | sed 's|^.*/\([^/]*\)_drv\.[^\._]*|\1|g' \
-                       | egrep -v '(atimisc|dummy|r128|radeon|v4l)' | sort -u | xargs \
+                       | egrep -v '(atimisc|dummy|r128|radeon|v4l)$' | sort -u | xargs \
                        | sed 's/ /, /g' 2>/dev/null) "
       fi
 

Attachment: signature.asc
Description: PGP signature


Reply to: