don't create extention if already exist
This commit is contained in:
parent
e7d06e85c2
commit
26b727b949
1 changed files with 1 additions and 1 deletions
2
debian/grantpriv.sh
vendored
2
debian/grantpriv.sh
vendored
|
@ -25,6 +25,6 @@ su postgres -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE template1 to $user;\"
|
|||
}
|
||||
|
||||
# enable the pg_trgm extension
|
||||
su postgres -c "psql -d $dbname -c \"CREATE EXTENSION pg_trgm;\"" || {
|
||||
su postgres -c "psql -d $dbname -c \"CREATE EXTENSION IF NOT EXISTS pg_trgm;\"" || {
|
||||
exit 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue