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

svn at pcbsd.org svn at pcbsd.org
Wed Sep 12 07:20:20 PDT 2012


Author: kris
Date: 2012-09-12 14:20:20 +0000 (Wed, 12 Sep 2012)
New Revision: 19063

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

Fix an issue cluttering up archived/ directory with old .sha256 files



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-09-12 14:13:38 UTC (rev 19062)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-09-12 14:20:20 UTC (rev 19063)
@@ -5730,6 +5730,7 @@
 
 	# First remove any old patches
 	rm ${_curPBIdir}/*.pbp 2>/dev/null
+	rm ${_curPBIdir}/*.pbp.sha256 2>/dev/null
 
 	# Make sure to enable signing of the patch files
 	if [ -n "${PBI_AB_SSLPRIVKEY}" ] ; then
@@ -6126,7 +6127,7 @@
 
 	echo "Moving old PBIs from ${_od}/*.pbi -> ${_od}/archived/"
 	mv ${_od}/*.pbi ${_od}/archived/ 2>/dev/null
-	mv ${_od}/*.sha256 ${_od}/archived/ 2>/dev/null
+	mv ${_od}/*pbi.sha256 ${_od}/archived/ 2>/dev/null
 
 	# Prune anything beyond the _keepnum
         echo "Checking for more than $_keepnum PBIs in archive"



More information about the Commits mailing list