mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
Only perform network availability check
for update check if update checks are enabled
This commit is contained in:
parent
147336ba61
commit
93db40176b
|
@ -170,8 +170,10 @@ desktop_mode_warning
|
||||||
low_space_warning
|
low_space_warning
|
||||||
|
|
||||||
# Check if there is a new version of RetroDECK available, if update_check=true in retrodeck.cfg and there is network connectivity available.
|
# Check if there is a new version of RetroDECK available, if update_check=true in retrodeck.cfg and there is network connectivity available.
|
||||||
if [[ $(check_network_connectivity) == "true" ]] && [[ $update_check == "true" ]]; then
|
if [[ $update_check == "true" ]]; then
|
||||||
|
if [[ $(check_network_connectivity) == "true" ]]; then
|
||||||
check_for_version_update
|
check_for_version_update
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Normal Startup
|
# Normal Startup
|
||||||
|
|
Loading…
Reference in a new issue