[PC-BSD Commits] r7998 - pcbsd/current/src-qt4/libpcbsd

svn at pcbsd.org svn at pcbsd.org
Sun Nov 7 12:49:55 PST 2010


Author: kris
Date: 2010-11-07 12:49:55 -0800 (Sun, 07 Nov 2010)
New Revision: 7998

Modified:
   pcbsd/current/src-qt4/libpcbsd/utils.cpp
Log:

Use pcbsd.conf when getting / setting the master mirror server



Modified: pcbsd/current/src-qt4/libpcbsd/utils.cpp
===================================================================
--- pcbsd/current/src-qt4/libpcbsd/utils.cpp	2010-11-07 20:46:26 UTC (rev 7997)
+++ pcbsd/current/src-qt4/libpcbsd/utils.cpp	2010-11-07 20:49:55 UTC (rev 7998)
@@ -137,7 +137,7 @@
 }
 
 QString Utils::getMasterMirror() {
-	return getValFromPBIConf("PBI_MIRROR");
+	return getValFromPCBSDConf("PCBSD_MIRROR");
 }
 
 
@@ -211,7 +211,7 @@
 }
 
 bool Utils::setMasterMirror(QString val) {
-	return setValPBIConf("PBI_MIRROR", val);
+	return setValPCBSDConf("PCBSD_MIRROR", val);
 }
 
 QString Utils::getConfFileValue( QString oFile, QString Key )



More information about the Commits mailing list