always check network on git update

This commit is contained in:
Tobias Powalowski 2023-08-02 22:20:11 +02:00
parent 7847d37774
commit fd1c140bc1
2 changed files with 3 additions and 2 deletions

View file

@ -38,6 +38,9 @@ while [ $# -gt 0 ]; do
done
_archboot_check
if [[ -n "${_D_SCRIPTS}" ]]; then
_update_installer_check
_network_check
touch /.update
_download_latest
fi
# Generate new environment and launch it with kexec

View file

@ -124,8 +124,6 @@ _create_initramfs() {
_download_latest() {
# Download latest setup and quickinst script from git repository
_update_installer_check
touch /.update
echo -e "\e[1mStart:\e[m Downloading latest archboot from GIT master tree..."
[[ -d "${_INST}" ]] || mkdir "${_INST}"
# config