From b0d913490d37cadf7a3664ac384c0aa492487ca5 Mon Sep 17 00:00:00 2001 From: ir20 <60230695+ir20@users.noreply.github.com> Date: Wed, 7 Jul 2021 22:40:27 +0800 Subject: [PATCH] apt update --- install-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-release.sh b/install-release.sh index a3e942c..60382dd 100644 --- a/install-release.sh +++ b/install-release.sh @@ -126,7 +126,7 @@ identify_the_operating_system_and_architecture() { exit 1 fi if [[ "$(type -P apt)" ]]; then - PACKAGE_MANAGEMENT_INSTALL='apt -y --no-install-recommends install' + PACKAGE_MANAGEMENT_INSTALL='apt update && apt -y --no-install-recommends install' PACKAGE_MANAGEMENT_REMOVE='apt purge' package_provide_tput='ncurses-bin' elif [[ "$(type -P dnf)" ]]; then