From 0ccbe9c4c2b53f67f4ebc0ecfd74f6bd3df5ef69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20H=C3=B6hn?= Date: Tue, 24 Jan 2023 02:22:57 +0100 Subject: [PATCH] =?UTF-8?q?curl=20URL=20gequotet.=20Alles=20f=C3=BCr=20She?= =?UTF-8?q?llcheck?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- raspi-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raspi-install.sh b/raspi-install.sh index bed6b16..39f818f 100755 --- a/raspi-install.sh +++ b/raspi-install.sh @@ -51,7 +51,7 @@ fi 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/" #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)