diff --git a/home.admin/50torrentHDD.sh b/home.admin/50torrentHDD.sh index 47c3b8b..61d72e7 100755 --- a/home.admin/50torrentHDD.sh +++ b/home.admin/50torrentHDD.sh @@ -344,6 +344,10 @@ fi # the path torrent was download to targetPath1="${targetDir}/${baseTorrentFile}" targetPath2="${targetDir}/${updateTorrentFile}" +if [ "$network" = "bitcoin" ]; then + targetPath1="${targetDir}/blockchain" + targetPath2="${targetDir}/update/blockchain" +fi # check that path exists contentPath1=$(sudo ls ${targetPath1} 2>/dev/null)