- \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