From fb05951c5bc064b42f10c252752ee9330ba33992 Mon Sep 17 00:00:00 2001 From: despiegk Date: Fri, 7 Feb 2025 07:25:28 +0300 Subject: [PATCH] ... --- install_v.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/install_v.sh b/install_v.sh index 8006ca4f..f9024c39 100755 --- a/install_v.sh +++ b/install_v.sh @@ -167,12 +167,12 @@ function os_update { fi export TERM=xterm export DEBIAN_FRONTEND=noninteractive - dpkg --configure -a + dpkg --configure -a apt update -y if is_github_actions; then echo "** IN GITHUB ACTIONS, DON'T DO UPDATE" - else - set +e + else + set +e echo "** UPDATE" apt-mark hold grub-efi-amd64-signed set -e @@ -490,9 +490,7 @@ mkdir -p ~/code # Check if v needs to be installed if [ "$RESET" = true ] || ! command_exists v; then - if ! is_github_actions; then - os_update - fi + os_update sshknownkeysadd