Skip to content

Commit

Permalink
install_deps: upgrade only specified packages, not full system (#768)
Browse files Browse the repository at this point in the history
Co-authored-by: Howard Wu <[email protected]>
  • Loading branch information
theblackhole and Howard20181 authored Mar 3, 2024
1 parent 3014fc9 commit f5c77b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ PM_INSTALL_MAP["apt-get"]="install -y"
PM_INSTALL_MAP["apk"]="add"

declare -A PM_UPGRADE_MAP
PM_UPGRADE_MAP["dnf"]="update -y"
PM_UPGRADE_MAP["apt-get"]="upgrade -y"
PM_UPGRADE_MAP["apt-get"]="install -y"
PM_UPGRADE_MAP["zypper"]="up -y"

check_package_manager() {
Expand Down

0 comments on commit f5c77b5

Please sign in to comment.