mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
Update entrypoint.sh
This commit is contained in:
parent
356f17fc58
commit
1f3f5314e0
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ echo "Validated postgresql version: $INPUT_POSTGRESQL_VERSION"
|
||||||
|
|
||||||
echo "Installing postgresql..."
|
echo "Installing postgresql..."
|
||||||
|
|
||||||
|
echo "OS: $(uname -s)"
|
||||||
|
|
||||||
if [[ "$(uname -s)" == "Linux" ]]; then
|
if [[ "$(uname -s)" == "Linux" ]]; then
|
||||||
# Create the file repository configuration:
|
# Create the file repository configuration:
|
||||||
sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||||
|
|
Loading…
Add table
Reference in a new issue