echo "by your www-data. You meed to use :"
echo "chmod 644 /etc/bacula/bconsole.conf"
echo "chmod 755 /usr/bin/bconsole"
+ echo
+ echo "If you are upgrading from a previous version, read /usr/share/doc/bweb/UPGRADE notes"
+ echo
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
+fi