[PC-BSD Commits] r7481 - pcbsd-projects/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Wed Sep 1 11:58:23 PDT 2010


Author: kris
Date: 2010-09-01 11:58:23 -0700 (Wed, 01 Sep 2010)
New Revision: 7481

Modified:
   pcbsd-projects/pbi-manager/pbi-manager
Log:

Small fix related to last commit, when doing a pbi_add -r, also check for a new index at the same time
to ensure we are getting the latest goodies to parse



Modified: pcbsd-projects/pbi-manager/pbi-manager
===================================================================
--- pcbsd-projects/pbi-manager/pbi-manager	2010-09-01 18:56:10 UTC (rev 7480)
+++ pcbsd-projects/pbi-manager/pbi-manager	2010-09-01 18:58:23 UTC (rev 7481)
@@ -2430,6 +2430,9 @@
 	# Set the target program we want to download
 	_rtar="$PBI_FILENAME"
 
+	# See if we need to update the PBI index file
+	check_update_index
+
 	check_pbi_update "$_rtar" "nodisplay" \
 	 "$_rtar" "-0" \
 	 "`uname -r`" "`uname -m`"



More information about the Commits mailing list