Skip to content

Commit f5c77b5

Browse files
install_deps: upgrade only specified packages, not full system (#768)
Co-authored-by: Howard Wu <HowardWu20@outlook.com>
1 parent 3014fc9 commit f5c77b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/install_deps.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ PM_INSTALL_MAP["apt-get"]="install -y"
8080
PM_INSTALL_MAP["apk"]="add"
8181

8282
declare -A PM_UPGRADE_MAP
83-
PM_UPGRADE_MAP["dnf"]="update -y"
84-
PM_UPGRADE_MAP["apt-get"]="upgrade -y"
83+
PM_UPGRADE_MAP["apt-get"]="install -y"
8584
PM_UPGRADE_MAP["zypper"]="up -y"
8685

8786
check_package_manager() {

0 commit comments

Comments
 (0)