Update rpi-update (#23)

Warn about the most probable when update failed

I got to look around 10 minutes having ca-certificate and a current time, but no internet...
This commit is contained in:
kralo
2023-12-06 20:14:24 +01:00
committed by GitHub
parent cf120f0a76
commit 02d49298bd

View File

@@ -119,7 +119,7 @@ function update_self() {
if ! eval curl -fs ${CURL_OPTIONS} --output "${_tempFileName}" "${UPDATE_URI}"; then if ! eval curl -fs ${CURL_OPTIONS} --output "${_tempFileName}" "${UPDATE_URI}"; then
echo " !!! Failed to download update for rpi-update!" echo " !!! Failed to download update for rpi-update!"
echo " !!! Make sure you have ca-certificates installed and that the time is set correctly" echo " !!! Make sure you are connected to the internet, have ca-certificates installed and that the time is set correctly"
exit 1 exit 1
fi fi