From: Roland Hieber Date: Sun, 27 Dec 2009 07:07:21 +0000 (+0100) Subject: just run iservchk in debian/postinst, it is easier X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/commitdiff_plain/41322eebe88a109e5726f279cac0ee62e87ec2bb just run iservchk in debian/postinst, it is easier --- 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;