default values for configuration
[iserv-mod-room-reservation.git] / Makefile
old mode 100644 (file)
new mode 100755 (executable)
index 1cd33c8..5388ea5
--- a/Makefile
+++ b/Makefile
@@ -71,12 +71,6 @@ sourcedoc:
 install: sourcedoc links\r
        chkdb -r\r
        chkpriv\r
-       \r
-       @if [ -z "`psql -qc "SELECT * FROM log_module;" 2>&1 |grep ERROR`" -a -z \\r
-         "`psql -qc \"SELECT COUNT(*) FROM log_module WHERE module = 'Room Reservation Schedule';\" 2>&1 |grep ' 1'`" ]; then \\r
-         echo psql -c "INSERT INTO log_module VALUES('Room Reservation Schedule');"; \\r
-         psql -c "INSERT INTO log_module VALUES('Room Reservation Schedule');"; \\r
-       fi;\r
        chklocale\r
 \r
 # uninstalling\r
@@ -92,6 +86,7 @@ uninstall:
        $(RM) /usr/share/iserv/www/mod_room-reservation\r
        $(RM) /usr/share/iserv/modules/room-reservation\r
        \r
+       psql -c "DELETE FROM log_module WHERE module='Room Reservation Schedule';"\r
        chklocale\r
        \r
        @echo ----------------------------------------------------------------------\r
This page took 0.021219 seconds and 4 git commands to generate.