From 888f11bfee3808b740a74ceb32d7d6819562d08b Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 1 Jun 2007 13:17:46 +0000 Subject: [PATCH] ebl update to play with bweb-mysql.sql script git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4960 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/debian/bweb.postinst | 3 +++ gui/debian/rules | 1 + 2 files changed, 4 insertions(+) diff --git a/gui/debian/bweb.postinst b/gui/debian/bweb.postinst index 8b11eb744a..badc121d86 100644 --- a/gui/debian/bweb.postinst +++ b/gui/debian/bweb.postinst @@ -24,6 +24,9 @@ if [ "$1" = "configure" ] ; then echo "postgres@localhost:~$ psql bacula < /usr/share/bweb/bweb-postgresql.sql" echo + echo "If you are using mysql, you have to load /usr/share/bweb/bweb-mysql.sql in your database" + echo "root@localhost:~$ mysql bacula < /usr/share/bweb/bweb-mysql.sql" + echo echo "You can use user/passwd (see /etc/apache/conf.d/bweb.conf)" echo "You have to reload your apache configuration" echo diff --git a/gui/debian/rules b/gui/debian/rules index bb7722058c..c44deb0589 100755 --- a/gui/debian/rules +++ b/gui/debian/rules @@ -66,6 +66,7 @@ install-indep: install -m 644 bweb/html/*.html debian/bweb/usr/share/bweb/html install -m 644 bweb/html/*.ico debian/bweb/usr/share/bweb/html install -m 644 bweb/script/bweb-postgresql.sql debian/bweb/usr/share/bweb + install -m 644 bweb/script/bweb-mysql.sql debian/bweb/usr/share/bweb install -m 644 bweb/script/update_job_old.sql debian/bweb/usr/share/bweb echo '$$VAR1 = { template_dir => "/usr/share/bweb/tpl", bconsole => "/usr/bin/bconsole -n -c /etc/bacula/bconsole.conf", fv_write_path => "/var/spool/bweb" };' > debian/bweb/etc/bacula/bweb.conf chmod 600 debian/bweb/etc/bacula/bweb.conf -- 2.39.5