[PC-BSD Commits] r8027 - pcbsd/current/src-sh/pbi-manager
svn at pcbsd.org
svn at pcbsd.org
Sat Nov 13 17:03:45 PST 2010
Author: kris
Date: 2010-11-13 17:03:44 -0800 (Sat, 13 Nov 2010)
New Revision: 8027
Modified:
pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:
Hide errors if .pbi / .sha256 isn't available to move
Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager 2010-11-14 01:02:41 UTC (rev 8026)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager 2010-11-14 01:03:44 UTC (rev 8027)
@@ -3931,8 +3931,8 @@
# Make sure the archived dir exists
if [ ! -d "${_od}/archived" ] ; then mkdir "${_od}/archived"; fi
- mv "${_od}/*.pbi" "${_od}/archived"
- mv "${_od}/*.sha256" "${_od}/archived"
+ mv "${_od}/*.pbi" "${_od}/archived" >/dev/null 2>/dev/null
+ mv "${_od}/*.sha256" "${_od}/archived" >/dev/null 2>/dev/null
# Prune anything beyond the _keepnum
oCount="0"
More information about the Commits
mailing list