X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/e36023bab92375bc0e032ee22007e80cde690fdf..de19e9edcf0ee7cc451f7bc819006ff869050062:/debian/prerm diff --git a/debian/prerm b/debian/prerm index da9ebee..c37b2f9 100755 --- a/debian/prerm +++ b/debian/prerm @@ -1,11 +1,5 @@ #!/bin/sh -psql -c "DELETE FROM log_module WHERE module='Room Reservation Schedule';" -chklocale - +if [ "$1" = "purge" ]; then + rm -f /usr/share/iserv/www/inc/mod_room-reservation/config.inc +fi; #DEBHELPER# - -@echo -@echo If you do not need the SQL tables anymore, remove them by running -@echo ' psql -c "DROP TABLE mod_roomreservation_bookings;"' -@echo After that, all bookings are unrecoverably deleted! -@echo