From 5528433bf89e2cb27e60a6cf5286ca85b6b8c82f Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Mon, 24 Jun 2019 00:24:38 +0200 Subject: [PATCH] #227 adapt download path --- home.admin/50torrentHDD.sh | 4 ++++ 1 file changed, 4 insertions(+) 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)