git://git.onelab.eu
/
myplc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
revert changeset 11449 as we rollback to drupal 4.7
[myplc.git]
/
plc.d
/
postgresql
diff --git
a/plc.d/postgresql
b/plc.d/postgresql
index
8099462
..
4a78391
100755
(executable)
--- a/
plc.d/postgresql
+++ b/
plc.d/postgresql
@@
-165,9
+165,7
@@
case "$1" in
check
if ! psql -U $PLC_DB_USER -c "" drupal >/dev/null 2>&1 ; then
createdb -U postgres --encoding=UNICODE --owner=$PLC_DB_USER drupal
check
if ! psql -U $PLC_DB_USER -c "" drupal >/dev/null 2>&1 ; then
createdb -U postgres --encoding=UNICODE --owner=$PLC_DB_USER drupal
- # when using drupal 6.x, we must not do this
- drupal_schema=/var/www/html/database/database.pgsql
- [ -f $drupal_schema ] && psql -U $PLC_DB_USER -f $drupal_schema drupal
+ psql -U $PLC_DB_USER -f /var/www/html/database/database.pgsql drupal
fi
check
fi
check