Skip to content

Commit

Permalink
Improve install_apt_packages performance
Browse files Browse the repository at this point in the history
  • Loading branch information
SMarioMan authored Oct 30, 2024
1 parent 8ec4fd1 commit 6700183
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ install_apt_packages() {
sudo DEBIAN_FRONTEND=noninteractive apt-get -y upgrade

info "Installing apt dependencies..."
for package in "${APT_DEPENDENCIES[@]}"
do
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install "$package"
done
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install "${APT_DEPENDENCIES[@]}"

# Add redis repository to apt index and install it
# for more info, see: https://redis.io/docs/install/install-redis/install-redis-on-linux/
Expand Down

0 comments on commit 6700183

Please sign in to comment.