From 4bb37350d59bcce6f87ede3b9bd89b743de3ed24 Mon Sep 17 00:00:00 2001 From: rdlrt <3169068+rdlrt@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:31:21 +1100 Subject: [PATCH] use apt-get install .. --upgrade --- scripts/grest-helper-scripts/setup-grest.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/grest-helper-scripts/setup-grest.sh b/scripts/grest-helper-scripts/setup-grest.sh index fe6ad234f..c4888390a 100755 --- a/scripts/grest-helper-scripts/setup-grest.sh +++ b/scripts/grest-helper-scripts/setup-grest.sh @@ -306,8 +306,7 @@ SGVERSION=v1.3.0 pkg_installer="dnf" pkg_list="make gcc gcc-c++ autoconf autoconf-archive automake libtool pkgconfig" fi - sudo ${pkg_installer} -y install ${pkg_list} >/dev/null || err_exit "'sudo ${pkg_installer} -y install ${pkg_list}' failed!" - sudo ${pkg_installer} -y upgrade ${pkg_list} >/dev/null || err_exit "'sudo ${pkg_installer} -y upgrade ${pkg_list}' failed!" + sudo ${pkg_installer} -y install ${pkg_list} --upgrade >/dev/null || err_exit "'sudo ${pkg_installer} -y install ${pkg_list}' failed!" [[ ! -d "libbech32" ]] && git clone https://github.com/whitslack/libbech32 >/dev/null pushd libbech32 || err_exit git pull >/dev/null || err_exit