[PC-BSD Commits] r535 - pcbsd/trunk/PBItext

svn at pcbsd.org svn at pcbsd.org
Thu Jul 19 00:02:26 PDT 2007


Author: kris
Date: 2007-07-19 08:02:26 +0100 (Thu, 19 Jul 2007)
New Revision: 535

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

Fixed bug with PBItext mode installer setting variable to GUI incorrectly



Modified: pcbsd/trunk/PBItext/main.cpp
===================================================================
--- pcbsd/trunk/PBItext/main.cpp	2007-07-19 06:53:57 UTC (rev 534)
+++ pcbsd/trunk/PBItext/main.cpp	2007-07-19 07:02:26 UTC (rev 535)
@@ -127,7 +127,7 @@
 			stream << "#!/bin/sh\n";
 			stream << "PROGDIR=\"" + ProgDirName + "\"; export PROGDIR\n";
 			stream << "USERNAME=\"" + RealUserName + "\"; export USERNAME\n";
-			stream << "INSTALLMODE=\"GUI\"; export INSTALLMODE\n";
+			stream << "INSTALLMODE=\"TEXT\"; export INSTALLMODE\n";
 			stream << "sh ./PBI.FirstRun.sh\nexit ${?}";
 
         	file.close();
@@ -944,7 +944,7 @@
 			stream << "#!/bin/sh\n";
 			stream << "PROGDIR=\"" + ProgDirName + "\"; export PROGDIR\n";
 			stream << "USERNAME=\"" + RealUserName + "\"; export USERNAME\n";
-			stream << "INSTALLMODE=\"GUI\"; export INSTALLMODE\n";
+			stream << "INSTALLMODE=\"TEXT\"; export INSTALLMODE\n";
 			stream << "sh /Programs/" + ProgDirName + "/PBI.SetupScript.sh\nexit ${?}";
 
         	file.close();



More information about the Commits mailing list