touch /usr/share/iserv/www/inc/mod_room-reservation/config.inc
chmod g+w /usr/share/iserv/www/inc/mod_room-reservation/config.inc
chgrp www-data /usr/share/iserv/www/inc/mod_room-reservation/config.inc
-export PGDATABASE=iserv
-export PGUSER=postgres
-chkdb -r
-chkpriv
-chklocale
+iservchk -a
#DEBHELPER#
if [ "$1" = "purge" ]; then
echo
- echo If you do not need the SQL tables anymore, remove them by running
+ echo iserv-mod-roomreservation was removed. If you do not need the data in
+ echo the SQL tables anymore, you can remove them by running:
echo ' psql -c "DROP TABLE mod_roomreservation_bookings;"'
- echo After that, all bookings are unrecoverably deleted!
+ echo ' psql -c "DROP TABLE mod_roomreservation_roomswhitelist;"'
+ echo After that, all bookings and settings are unrecoverably deleted!
echo
fi;