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

svn at pcbsd.org svn at pcbsd.org
Sat Jun 16 07:10:41 PDT 2012


Author: kris
Date: 2012-06-16 14:10:40 +0000 (Sat, 16 Jun 2012)
New Revision: 17294

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

Hide error when copying icon file



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-06-16 14:07:07 UTC (rev 17293)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-06-16 14:10:40 UTC (rev 17294)
@@ -4032,10 +4032,10 @@
 	if [ -n "${PBI_PROGICON}" -a -e "${PBI_STAGEDIR}/${PBI_PROGICON}" ] ; then
 		# Get the file extension
 		_iconExt=`echo "$PBI_PROGICON" | awk -F . '{print $NF}'`
-		cp "${PBI_STAGEDIR}/${PBI_PROGICON}" "${PBI_HEADERDIR}/pbi_icon.${_iconExt}"
+		cp "${PBI_STAGEDIR}/${PBI_PROGICON}" "${PBI_HEADERDIR}/pbi_icon.${_iconExt}" >/dev/null 2>/dev/null
 	else
 		_iconExt=`echo "$PBI_DEFAULT_ICON_CHROOT" | awk -F . '{print $NF}'`
-		cp "${PBI_DEFAULT_ICON_CHROOT}" "${PBI_HEADERDIR}/pbi_icon.${_iconExt}"
+		cp "${PBI_DEFAULT_ICON_CHROOT}" "${PBI_HEADERDIR}/pbi_icon.${_iconExt}" >/dev/null 2>/dev/null
 	fi
 
 	# Check for any gui images



More information about the Commits mailing list