Mercurial > noffle
view debian/prerm @ 320:5c6faf4e1dc9 noffle
[svn] * src/noffle.c: Give usage (rather than abort()) if option is unrecognised.
* src/content.c: Tighten up checks when accessing content vector.
author | bears |
---|---|
date | Fri, 21 Feb 2003 23:06:54 +0000 |
parents | 85bf9f705e70 |
children | 5ec39beae9c5 |
line wrap: on
line source
#!/bin/sh # $Id: prerm 446 2003-02-19 19:06:45Z godisch $ set -e . /usr/share/debconf/confmodule db_version 2.0 db_get noffle/port || RET='' port="$RET" [ -z "$port" -o "$port" = 119 ] && port=nntp case "$1" in remove|upgrade|deconfigure) echo "Disabling inet.d entry for noffle..." update-inetd --disable $port ;; failed-upgrade) ;; *) echo "prerm called with unknown argument '$1'" >&2 exit 1 ;; esac exit 0