mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-29 13:02:35 +02:00
#227 adapt download path
This commit is contained in:
@@ -344,6 +344,10 @@ fi
|
|||||||
# the path torrent was download to
|
# the path torrent was download to
|
||||||
targetPath1="${targetDir}/${baseTorrentFile}"
|
targetPath1="${targetDir}/${baseTorrentFile}"
|
||||||
targetPath2="${targetDir}/${updateTorrentFile}"
|
targetPath2="${targetDir}/${updateTorrentFile}"
|
||||||
|
if [ "$network" = "bitcoin" ]; then
|
||||||
|
targetPath1="${targetDir}/blockchain"
|
||||||
|
targetPath2="${targetDir}/update/blockchain"
|
||||||
|
fi
|
||||||
|
|
||||||
# check that path exists
|
# check that path exists
|
||||||
contentPath1=$(sudo ls ${targetPath1} 2>/dev/null)
|
contentPath1=$(sudo ls ${targetPath1} 2>/dev/null)
|
||||||
|
Reference in New Issue
Block a user