[PC-BSD Commits] r18071 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Wed Aug 1 10:38:47 PDT 2012


Author: kris
Date: 2012-08-01 17:38:47 +0000 (Wed, 01 Aug 2012)
New Revision: 18071

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Unset the 00 priority at correct location



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-01 17:29:26 UTC (rev 18070)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-01 17:38:47 UTC (rev 18071)
@@ -5479,11 +5479,6 @@
 		_cd=$(dirname $pbi | sed 's|./||')
 		PBI_CONFDIR="$_cd"
 
-  	        # Unset the priority if set to 00 / 0
-	        if [ "${PBI_AB_PRIORITY}" = "00" -o "$PBI_AB_PRIORITY" = "0" ] ; then 
-		   	unset PBI_AB_PRIORITY
-     	        fi
-
 		# Make sure PBI_MAKEPORT is set
 		if [ -z "${PBI_MAKEPORT}" ] ; then
 			PBI_MAKEPORT=`echo $pbi | sed 's|./||'`
@@ -5512,6 +5507,11 @@
 	 	if [ "$?" = "0" ] ; then	
 		   AB_FOUND="1"
 
+  	           # Unset the priority if set to 00 / 0
+	           if [ "${PBI_AB_PRIORITY}" = "00" -o "${PBI_AB_PRIORITY}" = "0" ] ; then 
+		   	unset PBI_AB_PRIORITY
+     	           fi
+
 		   # Check the priority of this PBI, see if it rises to the top
 		   if [ -z "${CUR_PRIORITY_PBI}" ] ; then 
 		     CUR_WORKING_PBI="${pbi}"



More information about the Commits mailing list