[PC-BSD Commits] r21665 - pcbsd/current/src-sh/pc-metapkgmanager

svn at pcbsd.org svn at pcbsd.org
Wed Feb 27 09:16:08 PST 2013


Author: kris
Date: 2013-02-27 17:16:08 +0000 (Wed, 27 Feb 2013)
New Revision: 21665

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

Before installing meta-pkgs, make sure we do a pkg update



Modified: pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager
===================================================================
--- pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2013-02-27 14:29:12 UTC (rev 21664)
+++ pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2013-02-27 17:16:08 UTC (rev 21665)
@@ -258,6 +258,11 @@
 	# Set the package add exit status to default of 0
 	_pkgStatus=0
 
+	# Run the update manager first to get packages to latest release
+        if [ "$2" = "add" ] ; then
+		pc-updatemanager pkgupdate
+	fi
+
  	local list
 	list=`echo "$1" | sed 's|,| |g'`	
 	for z in $list



More information about the Commits mailing list