This commit is contained in:
dewomser 2023-05-15 10:27:41 +02:00 committed by GitHub
parent b15e329dbe
commit 18a6f40626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ dirr=$(curl --silent "https://downloads.raspberrypi.org/$rimage/images/" | grep
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)
rname=$(curl --silent "$pathr" | grep -o -E "$datum-[[:alnum:]-]*\.img.\xz"|tail -1) rname=$(curl --silent "$pathr" | grep -o -E "$datum-[[:alnum:]-]*\.img\.xz"|tail -1)
wget -c "$pathr""$rname" -O "raspi$attribut".xz wget -c "$pathr""$rname" -O "raspi$attribut".xz
#echo Test kompletter Pfad :: "$pathr""$rname" #echo Test kompletter Pfad :: "$pathr""$rname"