[ubuntu-x] [PATCH] dexconf: Updated PS3 fb check to use case insensitive regex.
Dan Munckton
lists at munckfish.net
Mon May 5 00:35:10 BST 2008
From: Dan Munckton <daniel at munckfish.net>
The output of cat /proc/fb on 2.6.24 is "0 ps3fb". Dexconf was searching for "PS3" and was therefore failing to detect the platform correctly.
---
debian/local/dexconf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/debian/local/dexconf b/debian/local/dexconf
index 50a2f4e..596a4e2 100644
--- a/debian/local/dexconf
+++ b/debian/local/dexconf
@@ -281,7 +281,7 @@ SECTION
if [ -n "$DEVICE_DRIVER" ]; then
printf "\tDriver\t\t\"$DEVICE_DRIVER\"\n" >&4
fi
-PS3_FB=$(grep PS3 /proc/fb 2>/dev/null || true)
+PS3_FB=$(grep -i PS3 /proc/fb 2>/dev/null || true)
if [ -n "$PS3_FB" ]; then
printf "\tOption\t\t\"ShadowFB\"\t\t\"false\"\n" >&4
fi
--
1.5.2.5
More information about the Ubuntu-x
mailing list