[PC-BSD Commits] r7757 - pcbsd/current/src-qt4/pc-metapkgmanager

svn at pcbsd.org svn at pcbsd.org
Fri Oct 8 23:18:20 PDT 2010


Author: kris
Date: 2010-10-08 23:18:20 -0700 (Fri, 08 Oct 2010)
New Revision: 7757

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

Speed up pc-metapkgmanager when removing packages



Modified: pcbsd/current/src-qt4/pc-metapkgmanager/pc-metapkgmanager
===================================================================
--- pcbsd/current/src-qt4/pc-metapkgmanager/pc-metapkgmanager	2010-10-09 05:10:16 UTC (rev 7756)
+++ pcbsd/current/src-qt4/pc-metapkgmanager/pc-metapkgmanager	2010-10-09 06:18:20 UTC (rev 7757)
@@ -127,6 +127,7 @@
 	done < ${MPDIR}/${_dpkg}/pkg-list
 
         # Now check what packages we have and prune those whom aren't needed
+	echo "Pruning unused packages... This may take a while..."
         while
         z="1"
         do
@@ -138,7 +139,6 @@
                                 check_remove_pkg "${j}"
                                 if [ "$?" = "0" ] ; then
                                         FOUND="1"
-                                        break
                                 fi
                         fi
                 done



More information about the Commits mailing list