Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/make_custom_pi_os
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down