[PC-BSD Commits] r21690 - pcbsd/current/src-sh/pc-updatemanager

svn at pcbsd.org svn at pcbsd.org
Mon Mar 4 07:27:50 PST 2013


Author: kris
Date: 2013-03-04 15:27:50 +0000 (Mon, 04 Mar 2013)
New Revision: 21690

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

Small fix to updating packages, sometimes we need to do a update of the
actual "pkg" package first :)



Modified: pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager
===================================================================
--- pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2013-03-04 15:18:34 UTC (rev 21689)
+++ pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2013-03-04 15:27:50 UTC (rev 21690)
@@ -486,6 +486,9 @@
     pkg-static update
   fi
 
+  # Check if we need to update "pkg" pkg first
+  pkg-static upgrade -y ${1} pkg 
+
   # Start the package update!
   pkg-static upgrade -y ${1}
   result=$?



More information about the Commits mailing list