Mercurial > noffle
diff debian/prerm @ 411:b9018588cc52 noffle
[svn] fixed update-inetd
author | godisch |
---|---|
date | Thu, 19 Jun 2003 23:25:30 +0100 |
parents | 775af896124a |
children | a7dbefcafc43 |
line wrap: on
line diff
--- a/debian/prerm Thu Jun 19 23:17:21 2003 +0100 +++ b/debian/prerm Thu Jun 19 23:25:30 2003 +0100 @@ -1,16 +1,19 @@ #!/bin/sh -# $Id: prerm 546 2003-06-05 17:27:28Z godisch $ +# $Id: prerm 554 2003-06-19 22:25:30Z godisch $ set -e if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule - db_get noffle/port - port="$RET" - if [ -z "$port" -o "$port" = 119 ]; then - port=nntp + db_get noffle/debconf + if [ "$RET" = true ]; then + db_get noffle/port + port="$RET" + if [ -z "$port" -o "$port" = 119 ]; then + port=nntp + fi + update-inetd --disable "$port" fi - update-inetd --disable $port db_stop fi