From: Eric Bollengier Date: Sat, 19 Dec 2009 17:32:12 +0000 (+0100) Subject: Tweak bweb deb script X-Git-Tag: Release-5.0.0~133^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=552395efec7ca80b62a381bfdb12068fb09619e4;p=bacula%2Fbacula Tweak bweb deb script --- diff --git a/gui/debian/bweb.postinst b/gui/debian/bweb.postinst index 6f183ebb02..7f75d9a395 100644 --- a/gui/debian/bweb.postinst +++ b/gui/debian/bweb.postinst @@ -19,7 +19,7 @@ if [ "$1" = "configure" ] ; then chown www-data:root /var/spool/bweb chmod 700 /var/spool/bweb - + echo echo "If you are using postgresql, you have to load /usr/share/bweb/bweb-postgresql.sql in your database" @@ -42,3 +42,8 @@ if [ "$1" = "configure" ] ; then 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 -U bacula bacula < /usr/share/bweb/upgrade-2.0_2.2_postgresql.sql" + echo +fi