Skip to content

Commit

Permalink
format(lib-common): fix formatting in checkPackages method
Browse files Browse the repository at this point in the history
  • Loading branch information
phorcys420 committed Jul 12, 2024
1 parent 46fe7b7 commit 822396a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib-common/src/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export DEBIAN_FRONTEND=noninteractive
checkPackages() {
if ! dpkg -s "$@" > /dev/null 2>&1; then
if [ "$(find /var/lib/apt/lists/* | wc -l)" = "0" ]; then
echo "Running apt-get update..."
apt-get update -y
echo "Running apt-get update..."
apt-get update -y
fi

apt-get install -y --no-install-recommends "$@"
Expand Down

0 comments on commit 822396a

Please sign in to comment.