From 9c65ccebcf6d21cbd59d35b7f45540cb0109a228 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Thu, 4 Aug 2005 17:49:59 +0000 Subject: [PATCH] updated debian rules to create database and set up odbc data source --- livesupport/etc/debian/livesupport-station.postinst | 6 ++---- livesupport/etc/debian/rules | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/livesupport/etc/debian/livesupport-station.postinst b/livesupport/etc/debian/livesupport-station.postinst index 23668c18b..e144f3870 100644 --- a/livesupport/etc/debian/livesupport-station.postinst +++ b/livesupport/etc/debian/livesupport-station.postinst @@ -27,10 +27,8 @@ case "$1" in cp -f $installdir/etc/odbcinst_debian_template \ $installdir/etc/odbcinst_template # do post-installation configuration -# TODO: update this as postInstallScheduler.sh does not exist any more -# $installdir/bin/postInstallScheduler.sh --directory $installdir \ -# --apache-group $apache_group \ -# --www-root $apache_docroot + $installdir/bin/createDatabase.sh + $installdir/bin/createOdbcDataSource.sh # register and start the livesupport scheduler deamon update-rc.d livesupport-station defaults 92 || true if command -v invoke-rc.d >/dev/null 2>&1 ; then diff --git a/livesupport/etc/debian/rules b/livesupport/etc/debian/rules index 27fae861f..d8130c2e3 100755 --- a/livesupport/etc/debian/rules +++ b/livesupport/etc/debian/rules @@ -91,6 +91,8 @@ install-arch: mkdir -p $(CURDIR)/debian/livesupport-station/opt/livesupport/usr/lib mv -f $(CURDIR)/debian/livesupport/opt/livesupport/bin/scheduler \ $(CURDIR)/debian/livesupport/opt/livesupport/bin/scheduler.sh \ + $(CURDIR)/debian/livesupport/opt/livesupport/bin/createDatabase.sh \ + $(CURDIR)/debian/livesupport/opt/livesupport/bin/createOdbcDataSource.sh \ $(CURDIR)/debian/livesupport-station/opt/livesupport/bin mv -f $(CURDIR)/debian/livesupport/opt/livesupport/etc/scheduler.xml* \ $(CURDIR)/debian/livesupport/opt/livesupport/etc/odbc* \