[PC-BSD Commits] r2281 - pcbsd/trunk/PCInstall

svn at pcbsd.org svn at pcbsd.org
Sat Jul 5 15:52:13 PDT 2008


Author: kris
Date: 2008-07-05 15:52:13 -0700 (Sat, 05 Jul 2008)
New Revision: 2281

Modified:
   pcbsd/trunk/PCInstall/main.cpp
Log:

Update the location of xdpyinfo, it will be in /usr/local/bin instead



Modified: pcbsd/trunk/PCInstall/main.cpp
===================================================================
--- pcbsd/trunk/PCInstall/main.cpp	2008-07-05 22:18:01 UTC (rev 2280)
+++ pcbsd/trunk/PCInstall/main.cpp	2008-07-05 22:52:13 UTC (rev 2281)
@@ -59,7 +59,7 @@
 
      
     // Lets get the output of xdpyinfo and figure out what font size will work best in this case
-    QString command = "/usr/local/pcbsd/bin/xdpyinfo | grep resolution | cut -d 'x' -f 2 | cut -d ' ' -f 1";
+    QString command = "/usr/local/bin/xdpyinfo | grep resolution | cut -d 'x' -f 2 | cut -d ' ' -f 1";
     int fontSize = 12;
 
     FILE *file = popen(command,"r");



More information about the Commits mailing list