[PC-BSD Commits] r7631 - pcbsd/current/src-qt4/pc-metapkgmanager

svn at pcbsd.org svn at pcbsd.org
Thu Sep 23 10:49:02 PDT 2010


Author: kris
Date: 2010-09-23 10:49:02 -0700 (Thu, 23 Sep 2010)
New Revision: 7631

Modified:
   pcbsd/current/src-qt4/pc-metapkgmanager/pc-metapkgmanager
Log:

Added check to pc-metapkgmanager to determine which meta-pkgs are "desktops" so we can ensure that
the user keeps at least one :)



Modified: pcbsd/current/src-qt4/pc-metapkgmanager/pc-metapkgmanager
===================================================================
--- pcbsd/current/src-qt4/pc-metapkgmanager/pc-metapkgmanager	2010-09-23 17:45:12 UTC (rev 7630)
+++ pcbsd/current/src-qt4/pc-metapkgmanager/pc-metapkgmanager	2010-09-23 17:49:02 UTC (rev 7631)
@@ -176,6 +176,11 @@
 			if [ -e "${i}/pkg-parent" ] ; then
 				echo "Parent: `cat ${i}/pkg-parent`"
 			fi
+			if [ -e "${i}/desktop" ] ; then
+				echo "Desktop: YES"
+			else
+				echo "Desktop: NO"
+			fi
 			echo " "
 			echo "Required Packages:"
 			cat ${i}/pkg-list



More information about the Commits mailing list