Skip to content

Commit 5d1e920

Browse files
committed
add assume-yes
1 parent ae16587 commit 5d1e920

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

postgres_startup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ echo "" >> /usr/local/startup.log
3939
# update package lists for PostgreSQL 9.6
4040
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
4141
wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add -
42-
sudo apt-get -qq update
43-
sudo apt-get -qq -y upgrade
44-
sudo apt-get install -y jq
42+
sudo apt-get --assume-yes -qq update
43+
sudo apt-get --assume-yes -qq upgrade
44+
sudo apt-get --assume-yes -qq install jq
4545
echo "apt-get update exited with: $?"
4646
echo "updated packages" >> /usr/local/startup.log
4747
echo "" >> /usr/local/startup.log

0 commit comments

Comments
 (0)