From d60d40ba6598dba5c0ebc8ad20567c5ea444c954 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 2 Aug 2023 21:18:45 +0200 Subject: [PATCH] remove .update on success --- usr/bin/archboot-update.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr/bin/archboot-update.sh b/usr/bin/archboot-update.sh index 84d0acb10..e849cacb9 100755 --- a/usr/bin/archboot-update.sh +++ b/usr/bin/archboot-update.sh @@ -37,7 +37,9 @@ while [ $# -gt 0 ]; do shift done _archboot_check -_download_latest +if [[ -n "${_D_SCRIPTS}" ]]; then + _download_latest +fi # Generate new environment and launch it with kexec if [[ -n "${_L_COMPLETE}" || -n "${_L_INSTALL_COMPLETE}" ]]; then _update_installer_check @@ -75,3 +77,4 @@ if [[ -n "${_FULL_SYSTEM}" ]]; then _full_system | _dialog --title "${_MENU_TITLE}" --gauge "Refreshing pacman package database..." 6 75 0 clear fi +rm /.update