We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f9cf284 + 3e93d11 commit fc0cc4dCopy full SHA for fc0cc4d
1 file changed
src/make_custom_pi_os
@@ -38,7 +38,7 @@ ${DIR}/dist_generators/dist_example_script "${DEST}"
38
if [ $GET_IMAGE ]; then
39
echo "Downloading latest Raspbian image"
40
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}')
+ 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}')
42
if [ $? -ne 0 ]; then
43
echo "error getting date"
44
exit 1
0 commit comments