[Piuparts-devel] [Piuparts-commits] [piuparts] 01/01: custom-scripts: properly disable apt-listbugs when testing it

Andreas Beckmann anbe at debian.org
Sun May 25 22:12:39 UTC 2014


On 2014-05-25 23:57, Holger Levsen wrote:
> --- a/custom-scripts/scripts/post_install_exceptions
> +++ b/custom-scripts/scripts/post_install_exceptions
> +				export APT_LISTBUGS_FRONTEND="none"

That does not work ... setting environment variables is nothing that can
be done in custom scripts (if you want them to persist over the exit
from the script). Unfortunately, I don't see an easy solution for
working around apt-listbugs.

Oh, I do: diversions. Reimplement your 'exit 0' solution with
dpkg-divert and ln /bin/true. (Similar to what I did with bin/sync, but
limited to that one package)


Andreas



More information about the Piuparts-devel mailing list