mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 18:07:45 +01:00
Fix Download.progress file name
Using single quote creates a file named '.${name}.progress' rather than 'Download.progress'
This commit is contained in:
@@ -72,7 +72,7 @@ while :
|
|||||||
freshSize=0
|
freshSize=0
|
||||||
fi
|
fi
|
||||||
progress=$(echo "scale=2; $freshSize*100/$targetSize" | bc)
|
progress=$(echo "scale=2; $freshSize*100/$targetSize" | bc)
|
||||||
echo $progress > '.${name}.progress'
|
echo $progress > ".${name}.progress"
|
||||||
|
|
||||||
# detect if since last loop any progress occured
|
# detect if since last loop any progress occured
|
||||||
if [ ${actualSize} -eq ${freshSize} ]; then
|
if [ ${actualSize} -eq ${freshSize} ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user