On Sun, Jan 16, 2011 at 14:36:05 -0600, Jonathan Nieder wrote:

> diff -u runit-2.1.1/debian/runit.postrm runit-2.1.1/debian/runit.postrm
> --- runit-2.1.1/debian/runit.postrm
> +++ runit-2.1.1/debian/runit.postrm
> @@ -9,13 +9,18 @@
>    sed -e '/#-- runit begin/,/#-- runit end/d' \
>      </etc/inittab >/etc/inittab'{new}'
>    mv -f /etc/inittab'{new}' /etc/inittab
> -  kill -s HUP 1 || :
> +  if ps -p 1 >/dev/null; then
> +    kill -s HUP 1
> +  fi
>  fi
>  
>  test "$1" = 'purge' || exit 0
>  
>  rm -rf /etc/sv/getty-5/supervise /var/run/sv.getty-5
>  test ! -h /var/service || rm -f /var/service
> +
> +# remove lingering debconf-managed configuration
> +# from versions 2.1.0-1 through 2.1.1-6.1.
>  test -r /usr/share/debconf/confmodule || exit 0
>  . /usr/share/debconf/confmodule
>  db_purge

Is this necessary?  The postinst does the purge already.  Either way,
unblocked, thanks.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature

Reply via email to