[PC-BSD Commits] r6275 - pcbsd/trunk/pc-sysinstall/backend-query

svn at pcbsd.org svn at pcbsd.org
Thu Feb 18 13:04:33 PST 2010


Author: kris
Date: 2010-02-18 13:04:33 -0800 (Thu, 18 Feb 2010)
New Revision: 6275

Modified:
   pcbsd/trunk/pc-sysinstall/backend-query/xkeyboard-models.sh
Log:

Fix bug in keyboard model listing for front-end, () are reserved



Modified: pcbsd/trunk/pc-sysinstall/backend-query/xkeyboard-models.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend-query/xkeyboard-models.sh	2010-02-18 20:58:25 UTC (rev 6274)
+++ pcbsd/trunk/pc-sysinstall/backend-query/xkeyboard-models.sh	2010-02-18 21:04:33 UTC (rev 6275)
@@ -13,7 +13,9 @@
     then
      exit 0
     else 
-      echo "$line"
+      model="`echo $line | sed 's|(|[|g'`"
+      model="`echo $model | sed 's|)|]|g'`"
+      echo "$model"
     fi 
   fi 
 



More information about the Commits mailing list