Корректировка pgsql
This commit is contained in:
parent
2356787f31
commit
c4f4452312
@ -1,7 +1,14 @@
|
||||
#!/bin/bash
|
||||
. "../src/01-common.sh" || exit 5
|
||||
title "Installing pgsql..."
|
||||
echo
|
||||
echo "==============================================="
|
||||
echo "Installing postgresql..."
|
||||
echo "==============================================="
|
||||
echo
|
||||
|
||||
apti postgresql postgresql-contrib
|
||||
installed() {
|
||||
command -v "$1" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
sudo apt install -y --autoremove postgresql postgresql-contrib
|
||||
sudo service postgresql restart
|
||||
installed php && apti php-pgsql
|
||||
installed php && sudo apt install -y --autoremove php-pgsql
|
||||
|
Loading…
Reference in New Issue
Block a user