]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Update tips
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 8 Nov 2007 18:48:57 +0000 (18:48 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 8 Nov 2007 18:48:57 +0000 (18:48 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5877 91ce42f0-d328-0410-95d8-f526ca767f89

gui/debian/bweb.postinst

index 1c0284a38640c63ce9a5d0c80415f6fd62eb831e..381d083309dedfb084a229ef0c30de2076f6df0e 100644 (file)
@@ -23,7 +23,8 @@ 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"
@@ -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