mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-30 12:36:07 +02:00
#227 adapt download path
This commit is contained in:
parent
24e9ce2550
commit
5528433bf8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user