POSTIN
/bin/sh
/usr/share/rpm-helper/add-webapp mille-xterm-configurator $1
echo -e "\nInstallation complete !\n\nDon't forget to install and configure a database :"
echo -e " - If you want to create a new one, you can use this script :\n/usr/share/mille-xterm-configurator/DB/init_db.sh\n"
echo -e " - If you want to update an older one, you can use this script :\n/usr/share/mille-xterm-configurator/DB/update_db_v2\n"
echo -e "Be sure postgresql-server is running and then you can configure your configurator\nto use your database at : http://SRV-ADDRESS/mille-configurator/Admin/index.php"
POSTUN
/bin/sh
/usr/share/rpm-helper/del-webapp mille-xterm-configurator $1