From 41322eebe88a109e5726f279cac0ee62e87ec2bb Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Sun, 27 Dec 2009 08:07:21 +0100 Subject: [PATCH] just run iservchk in debian/postinst, it is easier --- debian/postinst | 6 +----- debian/postrm | 6 ++++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/debian/postinst b/debian/postinst index ec6a94a..9381cba 100755 --- a/debian/postinst +++ b/debian/postinst @@ -2,9 +2,5 @@ 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# diff --git a/debian/postrm b/debian/postrm index 9185142..b98033e 100644 --- a/debian/postrm +++ b/debian/postrm @@ -6,8 +6,10 @@ chklocale 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; -- 2.20.1