diff --git a/build-image/first-boot.bash b/build-image/first-boot.bash index fdcaaac06..2dc27e752 100755 --- a/build-image/first-boot.bash +++ b/build-image/first-boot.bash @@ -138,9 +138,10 @@ if tryUntil "ping -c1 9.9.9.9 >/dev/null || wget -S -t 3 --waitretry=4 http://ww cat /etc/wpa_supplicant/wpa_supplicant.conf rm -f /etc/wpa_supplicant/wpa_supplicant.conf else - echo "$(timestamp) [openHABian] The public internet is not reachable. Please check your network." + echo "$(timestamp) [openHABian] The public internet is not reachable. Please check your local network environment." + echo "$(timestamp) [openHABian] We will continue trying to get your system installed, but without proper Internet connectivity this is not guaranteed to work." fi - fail_inprogress + #fail_inprogress fi echo "OK" @@ -156,7 +157,9 @@ if apt-get --yes upgrade &>/dev/null; then echo "OK"; else echo "FAILED"; fail_i if hash python3 2>/dev/null; then bash /boot/webif.bash reinsure_running; fi echo -n "$(timestamp) [openHABian] Installing git package... " -if apt-get install --yes git &>/dev/null; then echo "OK"; else echo "FAILED"; fail_inprogress; fi +if ! cond_redirect dpkg -s "git" &>/dev/null; then + if apt-get install --yes git &>/dev/null; then echo "OK"; else echo "FAILED"; fail_inprogress; fi +fi if [ -d /opt/openhabian ]; then cd /opt && rm -rf /opt/openhabian; fi # shellcheck disable=SC2154 diff --git a/docs/openhabian.md b/docs/openhabian.md index e38ac77d7..a0796d79b 100644 --- a/docs/openhabian.md +++ b/docs/openhabian.md @@ -279,7 +279,7 @@ You'll also see added commits when executing the "Update" function within the op ### Did my Installation succeed? What to do in case of a problem? A note on **patience**: stay calm - the openHABian setup will take 15 up to 45 minutes to complete all steps. -The amount of time highly depends on your device's performance and a number of extrenal factors such as your internet connection. +The amount of time highly depends on your device's performance and a number of external factors such as your internet connection.