From fdef6080225b9feb6b16b4a01b35d16520382d98 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 30 Apr 2023 05:19:10 -0600 Subject: [PATCH] Only upgrade aria2 --- ishare2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ishare2 b/ishare2 index b1868bf..f737be7 100755 --- a/ishare2 +++ b/ishare2 @@ -66,7 +66,7 @@ function install_aria2c() { else echo -e "${GREEN}[+] aria2c already is installed.${NO_COLOR}" >>$ISHARE2_DIR/logs.txt echo -e "${YELLOW}[+] Updating aria2c...${NO_COLOR}" >>$ISHARE2_DIR/logs.txt - if ! apt-get upgrade -y aria2; then + if ! apt-get install --only-upgrade aria2; then echo -e "${RED}[-] Failed to update aria2c.${NO_COLOR}" >>$ISHARE2_DIR/logs.txt exit 1 fi