Skip to content

Commit fc0cc4d

Browse files
authored
Merge pull request #142 from steviehs/patch-1
Update make_custom_pi_os
2 parents f9cf284 + 3e93d11 commit fc0cc4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/make_custom_pi_os

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ${DIR}/dist_generators/dist_example_script "${DEST}"
3838
if [ $GET_IMAGE ]; then
3939
echo "Downloading latest Raspbian image"
4040

41-
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}')
41+
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}')
4242
if [ $? -ne 0 ]; then
4343
echo "error getting date"
4444
exit 1

0 commit comments

Comments
 (0)