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

svn at pcbsd.org svn at pcbsd.org
Tue Jul 17 19:27:42 PDT 2012


Author: kris
Date: 2012-07-18 02:27:42 +0000 (Wed, 18 Jul 2012)
New Revision: 17800

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

Don't need to echo file downloads to trigger file



Modified: pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager
===================================================================
--- pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2012-07-17 19:25:25 UTC (rev 17799)
+++ pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2012-07-18 02:27:42 UTC (rev 17800)
@@ -257,7 +257,6 @@
     SIZE="`cat ${SIZEFILE}`"
     SIZE="`expr ${SIZE} / 1024 2>/dev/null`"
     echo "FETCH: ${FETCHFILE}"
-    echo "FETCH: ${FETCHOUTFILE}" >>${TRIGGERFILE}
  
     ( fetch -o ${FETCHOUTFILE} "${FETCHFILE}" >/dev/null 2>/dev/null ; echo "$?" > ${EXITFILE} ) &
     PID="$!"
@@ -271,7 +270,6 @@
         if [ $(is_num "$DSIZE") ] ; then
         if [ $SIZE -lt $DSIZE ] ; then DSIZE="$SIZE"; fi 
       	  echo "SIZE: ${SIZE} DOWNLOADED: ${DSIZE}"
-    	  echo "SIZE: ${SIZE} DOWNLOADED: ${DSIZE}" >>${TRIGGERFILE}
         fi
       fi
 



More information about the Commits mailing list