# HG changeset patch # User godisch # Date 1054834048 -3600 # Node ID 775af896124a34fe6556e5957e3696610029785a # Parent 19a27707200fa0246761897eae65942ff922ac29 [svn] fixed debconf problem diff -r 19a27707200f -r 775af896124a debian/prerm --- a/debian/prerm Thu Jun 05 14:39:56 2003 +0100 +++ b/debian/prerm Thu Jun 05 18:27:28 2003 +0100 @@ -1,17 +1,10 @@ #!/bin/sh -# $Id: prerm 544 2003-06-03 21:31:11Z godisch $ +# $Id: prerm 546 2003-06-05 17:27:28Z godisch $ set -e -if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d noffle stop -elif [ -x /etc/init.d/noffle ]; then - /etc/init.d/noffle stop -fi - if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule - db_version 2.0 db_get noffle/port port="$RET" if [ -z "$port" -o "$port" = 119 ]; then @@ -21,4 +14,10 @@ db_stop fi +if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d noffle stop +elif [ -x /etc/init.d/noffle ]; then + /etc/init.d/noffle stop +fi + exit 0