summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/updateCache
diff options
context:
space:
mode:
authoralbertogp <albertogp@uma.es>2014-05-28 10:48:38 +0000
committeralbertogp <albertogp@uma.es>2014-05-28 10:48:38 +0000
commit9de724362e4be5828a24e0ed9367839c74363e23 (patch)
treed389377d1b37e59b9e3261b4672cd7d1e2cea68e /client/shared/scripts/updateCache
parent07037833633304a3c08d359751b5babe430b3e24 (diff)
#644
Integrando cambios en version1.0 Resumenes en descargas con torrent git-svn-id: https://opengnsys.es/svn/branches/version1.0@4287 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/updateCache')
-rwxr-xr-xclient/shared/scripts/updateCache4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/shared/scripts/updateCache b/client/shared/scripts/updateCache
index 7f0237e1..a0670fe6 100755
--- a/client/shared/scripts/updateCache
+++ b/client/shared/scripts/updateCache
@@ -183,6 +183,10 @@ case "$PROTOCOLO" in
ogEcho log session " [ ] $MSG_SCRIPTS_TASK_START: ogTorrentStart CACHE $2.torrent $4"
ogTorrentStart CACHE "$2.torrent" $4 2>&1 | tee -a $OGLOGCOMMAND
RESUMEUPDATECACHE=$(grep -m 1 -B1 "Download" $OGLOGCOMMAND)
+ RESUMEUPDATECACHEbf=$(grep -m 1 "Download" $OGLOGCOMMAND)
+ if [ "$RESUMEUPDATECACHEbf" == "Download complete." ]; then
+ rm $IMGDIR$2".torrent.bf" 2>&1 | tee -a $OGLOGCOMMAND
+ fi
;;
MULTICAST)
PORT=$(echo $OPTPROTOCOLO | cut -f1 -d":")