]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/debian/bweb.postinst
Update
[bacula/bacula] / gui / debian / bweb.postinst
index 716e64ece92899f34b0df3911877f568b6252f45..1c0284a38640c63ce9a5d0c80415f6fd62eb831e 100644 (file)
@@ -35,5 +35,14 @@ if [ "$1" = "configure" ] ; then
  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