X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=gui%2Fdebian%2Fbweb.postinst;h=7f75d9a39544da9c55023461b6c08055a98d3eb0;hb=18d2e6efcdabe2e9cf09874644fd20d80e2edb68;hp=1c0284a38640c63ce9a5d0c80415f6fd62eb831e;hpb=7145512210076c351770ad199c48c0220f0bf689;p=bacula%2Fbacula diff --git a/gui/debian/bweb.postinst b/gui/debian/bweb.postinst index 1c0284a386..7f75d9a395 100644 --- a/gui/debian/bweb.postinst +++ b/gui/debian/bweb.postinst @@ -23,13 +23,14 @@ if [ "$1" = "configure" ] ; then echo echo "If you are using postgresql, you have to load /usr/share/bweb/bweb-postgresql.sql in your database" - echo "postgres@localhost:~$ psql bacula < /usr/share/bweb/bweb-postgresql.sql" + echo "postgres@localhost:~$ createlang plpgsql -Upostgres -d bacula" + echo "postgres@localhost:~$ psql -U bacula 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 "You can use user/passwd (see /etc/apache2/sites-available/bweb.conf)" + echo "You have to enable bweb.conf (a2ensite) and reload your apache configuration" echo echo "'/usr/bin/bconsole -n -c /etc/bacula/bconsole.conf' must be accessible" echo "by your www-data. You meed to use :" @@ -43,6 +44,6 @@ fi if [ "$1" = "upgrade" ] ; then echo "If you are using postgresql, you have to load /usr/share/bweb/upgrade-2.0_2.2_postgresql.sql in your database" - echo "postgres@localhost:~$ psql bacula < /usr/share/bweb/upgrade-2.0_2.2_postgresql.sql" + echo "postgres@localhost:~$ psql -U bacula bacula < /usr/share/bweb/upgrade-2.0_2.2_postgresql.sql" echo fi