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"
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