From 3e93d1155b4558f8fbaf8014b5fa3c12993558c7 Mon Sep 17 00:00:00 2001 From: steviehs Date: Thu, 19 Aug 2021 15:23:05 +0200 Subject: [PATCH] Update make_custom_pi_os Now finds the images for download --- src/make_custom_pi_os | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/make_custom_pi_os b/src/make_custom_pi_os index bedbdf52..1a893280 100755 --- a/src/make_custom_pi_os +++ b/src/make_custom_pi_os @@ -38,7 +38,7 @@ ${DIR}/dist_generators/dist_example_script "${DEST}" if [ $GET_IMAGE ]; then echo "Downloading latest Raspbian image" - CURRENT_RASPBIAN=$(curl https://downloads.raspberrypi.org/raspios_lite_armhf/images/ | grep raspbian | tail -n 1 | awk -F "href=\"" '{print $2}' | awk -F "/" '{print $1}') + CURRENT_RASPBIAN=$(curl https://downloads.raspberrypi.org/raspios_lite_armhf/images/ | grep raspios | tail -n 1 | awk -F "href=\"" '{print $2}' | awk -F "/" '{print $1}') if [ $? -ne 0 ]; then echo "error getting date" exit 1