-drupal_database_dir=/var/www/html/database
-pushd $drupal_database_dir
-if [ ! -f database.pgsql.distrib ] ; then
- cp database.pgsql database.pgsql.distrib
- cat database.pgsql.distrib ../drupal-hacks/database.pgsql > database.pgsql
+pushd /var/www/html/database
+if [ ! -f database.pgsql.drupal ] ; then
+ cp database.pgsql database.pgsql.drupal
+ cat database.pgsql.drupal ../drupal-hacks/database.pgsql > database.pgsql
+fi
+popd
+# hack the welcome page for MyPLC
+pushd /var/www/html/modules
+if [ ! -f node.module.drupal ] ; then
+ cp node.module node.module.drupal
+ [ -f /var/www/html/drupal-hacks/node.module ] && cp -f /var/www/html/drupal-hacks/node.module /var/www/html/module/node.module