[PC-BSD Commits] r8047 - pcbsd/current/src-qt4/pc-sysinstaller

svn at pcbsd.org svn at pcbsd.org
Fri Nov 19 08:34:57 PST 2010


Author: kris
Date: 2010-11-19 08:34:57 -0800 (Fri, 19 Nov 2010)
New Revision: 8047

Modified:
   pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp
Log:

Added a trigger to our media if no FreeBSD release files exist on the media



Modified: pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp	2010-11-19 15:05:51 UTC (rev 8046)
+++ pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp	2010-11-19 16:34:57 UTC (rev 8047)
@@ -109,6 +109,11 @@
     else
     	hasPkgsOnMedia = true;
 
+    // See if this media has a freebsd release on it
+    if ( QFile::exists("/tmp/no-fbsd-release") )
+	radioInstallFreeBSD->setEnabled(false);
+	
+
     // Do check for install pkgs on boot media
     if ( QFile::exists("/tmp/no-install-pkgs") )
     	hasInstallOnMedia = false;



More information about the Commits mailing list