Skip to content

Commit

Permalink
install: support debian 10
Browse files Browse the repository at this point in the history
  • Loading branch information
erichanson committed Dec 4, 2019
1 parent 7bacdfb commit 4f88bc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Expand Up @@ -21,7 +21,7 @@ echo "\__ \ / ____/ | \__ \ / \_/ __ \ __\__ \ "
echo " / __ \< <_| | | // __ \| Y Y \ ___/| | / __ \_" echo " / __ \< <_| | | // __ \| Y Y \ ___/| | / __ \_"
echo "(____ /\__ |____/(____ /__|_| /\___ >__| (____ /" echo "(____ /\__ |____/(____ /__|_| /\___ >__| (____ /"
echo " \/ |__| \/ \/ \/ \/ " echo " \/ |__| \/ \/ \/ \/ "
echo " [ version 0.2.0 - base install ]" echo " [ version 0.2.0-rc7 - base install ]"
echo "" echo ""
echo " OBLIGATORY WARNING:" echo " OBLIGATORY WARNING:"
echo "" echo ""
Expand Down Expand Up @@ -62,7 +62,7 @@ DEST=${DEST:-$SRC}
echo "Installing dependencies via apt..." echo "Installing dependencies via apt..."


echo "Please choose:" echo "Please choose:"
echo " a) Debian 9 apt repository" echo " a) Debian 9/10 apt repository"
echo " b) Ubuntu 18/19 apt repository" echo " b) Ubuntu 18/19 apt repository"
REPLY= REPLY=
while ! [[ $REPLY =~ ^[aAbB]$ ]] while ! [[ $REPLY =~ ^[aAbB]$ ]]
Expand All @@ -84,7 +84,7 @@ else
fi fi


# add postgresql official repository # add postgresql official repository
apt-get install -y wget ca-certificates apt-get install -y gnupg wget ca-certificates
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list


Expand Down

0 comments on commit 4f88bc7

Please sign in to comment.