git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4960
91ce42f0-d328-0410-95d8-
f526ca767f89
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
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