revert changeset 11449 as we rollback to drupal 4.7
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 8 Jan 2009 10:01:52 +0000 (10:01 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 8 Jan 2009 10:01:52 +0000 (10:01 +0000)
plc.d/postgresql

index 8099462..4a78391 100755 (executable)
@@ -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