X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=gui%2Fdebian%2Fbweb.postinst;h=7f75d9a39544da9c55023461b6c08055a98d3eb0;hb=18d2e6efcdabe2e9cf09874644fd20d80e2edb68;hp=6f183ebb0242f7370c3b6fd385a9167174754a10;hpb=0d7031c2a8a6cdb3ca98c817852ce67d4a6ac107;p=bacula%2Fbacula 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