[Piuparts-devel] Bug#660350: piuparts is a bit pedantic...

Andreas Beckmann anbe at debian.org
Mon Feb 17 23:36:20 UTC 2014


either reassign back to resolvconf "does not preserve comments (and
whitespace)" or

On 2014-02-18 00:27, Holger Levsen wrote:
> The solution for this bug is probably to remove the comments from 
> /etc/resolv.conf with a custom-script...

post_setup_resolv_confconf (or do we already have one that would fit?)

sed -i '/^#/d' /etc/resolv.conf

maybe

sed -i '/^#/d; /^$/d' /etc/resolv.conf

untested :-)


Andreas



More information about the Piuparts-devel mailing list