[PC-BSD Commits] r7594 - pcbsd/current/src-qt4/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Mon Sep 20 03:40:08 PDT 2010


Author: kris
Date: 2010-09-20 03:40:08 -0700 (Mon, 20 Sep 2010)
New Revision: 7594

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

Dont need the entire file, may be large, just check first 3 lines, make sure we have some data 



Modified: pcbsd/current/src-qt4/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-qt4/pbi-manager/pbi-manager	2010-09-18 09:01:46 UTC (rev 7593)
+++ pcbsd/current/src-qt4/pbi-manager/pbi-manager	2010-09-20 10:40:08 UTC (rev 7594)
@@ -2945,7 +2945,7 @@
 	fi
 	
 	# If our index is still empty, try to grab a fresh copy just to be sure
-	if [ -z "`cat ${PBI_INDEXUPFILE}`" ] ; then
+	if [ -z "`cat ${PBI_INDEXUPFILE} | head -n 3`" ] ; then
 		_fullUp="0"
 	fi
 



More information about the Commits mailing list