- settings.php.distrib > settings.php
-# chown apache:apache settings.php
-# chmod 444 settings.php
+ settings.php.drupal > settings.php
+fi
+popd
+# append our own database creation hacks to the drupal database schema
+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/modules/node.module