debian/prerm removes config file and only echoes the SQL deletion notice when purged
[iserv-mod-room-reservation.git] / debian / prerm
1 #!/bin/sh
2 psql -c "DELETE FROM log_module WHERE module='Room Reservation Schedule';"
3 chklocale
4
5 if [ "$1" = "purge" ]; then
6 rm -f /usr/share/iserv/www/inc/mod_room-reservation/config.inc
7 fi;
8
9 #DEBHELPER#
10
11 if [ "$1" = "purge" ]; then
12 echo
13 echo If you do not need the SQL tables anymore, remove them by running
14 echo ' psql -c "DROP TABLE mod_roomreservation_bookings;"'
15 echo After that, all bookings are unrecoverably deleted!
16 echo
17 fi;
This page took 0.044789 seconds and 5 git commands to generate.