Skip to content

Commit

Permalink
Implement shellcheck recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623-cargosense committed Oct 10, 2024
1 parent 02d27f1 commit 13007fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/postgresql-client/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org
apt update --yes
apt install --no-install-recommends --yes postgresql-client-${POSTGRESQL_VERSION}

if ! [ -z $curl_installed ]; then
if [ -n "${curl_installed}" ]; then
apt purge curl --autoremove --yes
fi

if ! [ -z $gpg_installed ]; then
if [ -n "${gpg_installed}" ]; then
apt purge gpg --autoremove --yes
fi

0 comments on commit 13007fb

Please sign in to comment.