mirror of
https://github.com/dewomser/Raspi-auto-downloader.git
synced 2026-03-13 16:57:16 +01:00
curl URL gequotet. Alles für Shellcheck
This commit is contained in:
parent
10bcc31ca8
commit
0ccbe9c4c2
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ fi
|
||||||
cd "$HOME/Downloads" || echo"Downloads Ordner nicht vorhanden"
|
cd "$HOME/Downloads" || echo"Downloads Ordner nicht vorhanden"
|
||||||
|
|
||||||
|
|
||||||
dirr=$(curl --silent https://downloads.raspberrypi.org/$rimage/images/ | grep -o -E "$rimage-$datum" | tail -1 )
|
dirr=$(curl --silent "https://downloads.raspberrypi.org/$rimage/images/" | grep -o -E "$rimage-$datum" | tail -1 )
|
||||||
pathr="https://downloads.raspberrypi.org/$rimage/images/$dirr/"
|
pathr="https://downloads.raspberrypi.org/$rimage/images/$dirr/"
|
||||||
#rname=$(curl --silent "$pathr" | grep -o -E -w "$datum-[[:lower:]-]*\.zip" | head -1)
|
#rname=$(curl --silent "$pathr" | grep -o -E -w "$datum-[[:lower:]-]*\.zip" | head -1)
|
||||||
#rname=$(curl --silent "$pathr" | grep -o -E "$datum-[[:alnum:]-]*\.xz" | head -1)
|
#rname=$(curl --silent "$pathr" | grep -o -E "$datum-[[:alnum:]-]*\.xz" | head -1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue