dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ajout : roundcube.
[lhc/ateliers.git]
/
local
/
postgresql-user-create
diff --git
a/local/postgresql-user-create
b/local/postgresql-user-create
index
56b37c9
..
902758b
100755
(executable)
--- a/
local/postgresql-user-create
+++ b/
local/postgresql-user-create
@@
-1,8
+1,7
@@
#!/bin/sh -eux
user="$1"
db="${2-}"
-sudo -u postgres psql "${db-}" -a -f - <<-EOF
- \set ON_ERROR_STOP on
+sudo -u postgres psql "${db-}" -a -f - --set ON_ERROR_STOP=1 <<-EOF
DO LANGUAGE plpgsql \$\$
BEGIN
IF NOT EXISTS (