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

svn at pcbsd.org svn at pcbsd.org
Wed Dec 19 10:55:39 PST 2012


Author: kris
Date: 2012-12-19 18:55:39 +0000 (Wed, 19 Dec 2012)
New Revision: 20708

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

Hide error messages when we check for pc-metapkgmanager status of a category



Modified: pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager
===================================================================
--- pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2012-12-19 18:50:02 UTC (rev 20707)
+++ pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2012-12-19 18:55:39 UTC (rev 20708)
@@ -576,7 +576,7 @@
 	pc-metapkgmanager list | grep "^Meta Package:" | sed 's|Meta Package: ||g' | grep -v "base-system" >${STAGEDIR}/.mPkgs.$$
 	while read mL
 	do
-	  pc-metapkgmanager status "$mL" | grep "is installed" >/dev/null 2>/dev/null	
+	  pc-metapkgmanager status "$mL" 2>/dev/null | grep "is installed" >/dev/null 2>/dev/null	
 	  if [ $? -eq 0 ] ; then
 	    if [ "$mL" = "NVIDIA" ]; then hNV="YES" ; fi
 	    mIns="$mIns $mL"



More information about the Commits mailing list