We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02d27f1 commit 13007fbCopy full SHA for 13007fb
1 file changed
src/postgresql-client/install.sh
@@ -41,10 +41,10 @@ sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org
41
apt update --yes
42
apt install --no-install-recommends --yes postgresql-client-${POSTGRESQL_VERSION}
43
44
-if ! [ -z $curl_installed ]; then
+if [ -n "${curl_installed}" ]; then
45
apt purge curl --autoremove --yes
46
fi
47
48
-if ! [ -z $gpg_installed ]; then
+if [ -n "${gpg_installed}" ]; then
49
apt purge gpg --autoremove --yes
50
0 commit comments