Bug#442917: laptop-netconf: Purging laptop-netconf doesn't remove /etc/network/interfaces link
Package: laptop-netconf
Version: 0.9.6.7
Severity: normal
Tags: patch
Purge laptop-netconf don't remove /etc/network/interfaces and not restore original interfaces.bak. The attached patch correct this problem.
Thanks,
Matheus Morais
--- debian/postrm 2007-09-12 10:34:03.000000000 -0300
+++ debian/postrm 2007-09-17 17:22:44.000000000 -0300
@@ -2,6 +2,8 @@
if [ "$1" = "purge" ]; then
rm -f /etc/default/laptop-netconf
+ rm -f /etc/network/interfaces
+ mv /etc/network/interfaces.bak /etc/network/interfaces
fi
#DEBHELPER#
Reply to: