tags 695906 + pending thanks Dear maintainer,
I've prepared an NMU for ifupdown (versioned as 0.7.5+nmu1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Cheers, -- .''`. Josselin Mouette : :' : `. `' `-
diff -Nru ifupdown-0.7.5/debian/changelog ifupdown-0.7.5+nmu1/debian/changelog --- ifupdown-0.7.5/debian/changelog 2012-11-02 18:31:00.000000000 +0100 +++ ifupdown-0.7.5+nmu1/debian/changelog 2013-02-14 19:50:15.000000000 +0100 @@ -1,3 +1,11 @@ +ifupdown (0.7.5+nmu1) unstable; urgency=low + + * Non-maintainer upload. + * postinst: do not create /e/n/i if it was removed manually. + Closes: #695906. + + -- Josselin Mouette <j...@debian.org> Thu, 14 Feb 2013 19:50:14 +0100 + ifupdown (0.7.5) unstable; urgency=low * Fix upstart hooks (Closes: #692110). diff -Nru ifupdown-0.7.5/debian/postinst ifupdown-0.7.5+nmu1/debian/postinst --- ifupdown-0.7.5/debian/postinst 2012-06-21 23:52:38.000000000 +0200 +++ ifupdown-0.7.5+nmu1/debian/postinst 2013-02-13 20:09:31.000000000 +0100 @@ -106,10 +106,14 @@ report_warn "No 'auto lo' statement found in /etc/network/interfaces" fi else # ! -f /etc/network/interfaces - echo "Creating /etc/network/interfaces." - echo "# interfaces(5) file used by ifup(8) and ifdown(8)" > /etc/network/interfaces - echo "auto lo" >> /etc/network/interfaces - echo "iface lo inet loopback" >> /etc/network/interfaces + if [ -z "$2" ]; then + echo "Creating /etc/network/interfaces." + echo "# interfaces(5) file used by ifup(8) and ifdown(8)" > /etc/network/interfaces + echo "auto lo" >> /etc/network/interfaces + echo "iface lo inet loopback" >> /etc/network/interfaces + else + report_warn "/etc/network/interfaces does not exist" + fi fi fi