Skip to content

Commit

Permalink
Remove unnecessary echos
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Feb 6, 2024
1 parent 96dfa17 commit 4553c95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/pg-start
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ PGVERSION=${1:-}

set -x
sudo apt.postgresql.org.sh -i -v "$PGVERSION"
set +x
if [ $# -gt 1 ]; then
set -x
sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -y "${@:2}"
fi

set +x
if [ -z ${NO_CLUSTER+x} ]; then
set -x
sudo pg_createcluster --start "$PGVERSION" test -p "${PGPORT:-5432}" -- -A trust
fi

0 comments on commit 4553c95

Please sign in to comment.