Control: tag -1 +patch Works for me.
commit 2674f3279495191233db770302d7e71d8647ce41 Author: Serafeim Zanikolas <s...@debian.org> Date: Mon Mar 18 23:09:23 2013 +0100 add postrm/preinst scripts to handle apt hook file fixes #703207 diff --git a/debian/apt-transport-spacewalk.postrm b/debian/apt-transport-spacewalk.postrm new file mode 100755 index 0000000..c797dec --- /dev/null +++ b/debian/apt-transport-spacewalk.postrm @@ -0,0 +1,34 @@ +#! /bin/sh + +set -e + +hook=/etc/apt/apt.conf.d/50spacewalk + +case "$1" in + purge) + rm -f $hook.disabled + ;; + + remove) + mv $hook $hook.disabled + ;; + + abort-install) + if test "x$2" != "x" && test -f $hook + then + mv $hook $hook.disabled + fi + ;; + + upgrade|failed-upgrade|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/apt-transport-spacewalk.preinst b/debian/apt-transport-spacewalk.preinst new file mode 100755 index 0000000..0bcb043 --- /dev/null +++ b/debian/apt-transport-spacewalk.preinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +hook=/etc/apt/apt.conf.d/50spacewalk +if test -f $hook.disabled +then + mv $hook.disabled $hook +fi + +#DEBHELPER# + +exit 0 -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org