#!/bin/bash # # Gnats installation script -- written by Brian White # (This was my very first attempt at learning perl... please forgive me!) # # Forgiving -- rewritten to bash :-) by Milan Zamazal . # ...and streamlined with SED by Chad Walstrom set -e ############################################################################### # # Utility functions # # Call arguments and never return error function protect () { "$@" || true; } ############################################################################### # # Common initialization for install scripts # . /usr/share/debconf/confmodule ############################################################################### # # Purging actions # if [ "$1" = purge ]; then # Remove the inetd setting when purging this package. update-inetd --remove "#?support.*" # Remove debconf templates and data db_purge fi ############################################################################### # # Automatically added debhelper stuff # #DEBHELPER#