]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl update to play with bweb-mysql.sql script
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 1 Jun 2007 13:17:46 +0000 (13:17 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 1 Jun 2007 13:17:46 +0000 (13:17 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4960 91ce42f0-d328-0410-95d8-f526ca767f89

gui/debian/bweb.postinst
gui/debian/rules

index 8b11eb744acc54a2b856caf0362581146f51b67f..badc121d869372c12aa1e2dc90ba7a5e5db9ca19 100644 (file)
@@ -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 
index bb7722058cff08f512a720c5c2165dd58f9c027d..c44deb0589b8946410382d58ab6e7de4a2bce307 100755 (executable)
@@ -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