X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc.d%2Fpostgresql;h=4a78391cd7bbdbd855e236edc44bcf29ccca3dd3;hb=98c72d1d961d5f034f5f0c2d3e800fdc37739aa8;hp=809946282b8cd914de96c03a551a4546ad8b2788;hpb=9596efaaece0d876cd301ff9fce5d75f1a2483ca;p=myplc.git diff --git a/plc.d/postgresql b/plc.d/postgresql index 8099462..4a78391 100755 --- 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 - # 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