mirror of
https://github.com/dewomser/Raspi-auto-downloader.git
synced 2026-03-13 08:57:16 +01:00
Shellcheck nachgebessert
This commit is contained in:
parent
7a8646bb4a
commit
2a705ceae8
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ cd ~/Downloads || exit
|
|||
dirr=$(curl --silent https://downloads.raspberrypi.org/$rimage/images/ | grep -o -E "$rimage-[0-9]{4}-[0-9]{2}-[0-9]{2}" | tail -1 )
|
||||
pathr="https://downloads.raspberrypi.org/$rimage/images/$dirr/"
|
||||
rname=$(curl --silent "$pathr" | grep -o -E -w "[0-9]{4}-[0-9]{2}-[0-9]{2}-[[:lower:]-]*\.zip" | head -1)
|
||||
wget -erobots=off $pathr$rname -O raspi.zip
|
||||
wget -erobots=off "$pathr""$rname" -O raspi.zip
|
||||
#echo Test kompletter Pfad :: "$pathr""$rname"
|
||||
shaname=$(curl --silent "$pathr" | grep -o -E -w "[0-9]{4}-[0-9]{2}-[0-9]{2}-[[:lower:]-]*\.zip\.sha256" | head -1)
|
||||
#echo Test kompletter sha256-Pfad :: $pathr$shaname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue