Skip to content

Commit

Permalink
Merge pull request #1014 from apernet/wip-install-script-apt-update
Browse files Browse the repository at this point in the history
chore(scripts): run apt update on apt based distro
  • Loading branch information
tobyxdd authored Mar 30, 2024
2 parents 0f38839 + 3de6535 commit f91efbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/install_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ detect_package_manager() {
fi

if has_command apt; then
apt update
PACKAGE_MANAGEMENT_INSTALL='apt -y --no-install-recommends install'
return 0
fi
Expand Down

0 comments on commit f91efbe

Please sign in to comment.