From fd1c140bc13826b0cde92139d9118233a99fb247 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 2 Aug 2023 22:20:11 +0200 Subject: [PATCH] always check network on git update --- usr/bin/archboot-update.sh | 3 +++ usr/lib/archboot/update/manage.sh | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/usr/bin/archboot-update.sh b/usr/bin/archboot-update.sh index 179ef0038..b1963654a 100755 --- a/usr/bin/archboot-update.sh +++ b/usr/bin/archboot-update.sh @@ -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 diff --git a/usr/lib/archboot/update/manage.sh b/usr/lib/archboot/update/manage.sh index 5c91cb3ec..8e15e6a38 100644 --- a/usr/lib/archboot/update/manage.sh +++ b/usr/lib/archboot/update/manage.sh @@ -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