Mercurial > noffle
changeset 404:775af896124a noffle
[svn] fixed debconf problem
author | godisch |
---|---|
date | Thu, 05 Jun 2003 18:27:28 +0100 |
parents | 19a27707200f |
children | 450c90f52bcd |
files | debian/prerm |
diffstat | 1 files changed, 7 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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