diff options
| author | Michael Biebl <biebl@debian.org> | 2013-01-29 04:01:53 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2013-01-29 04:09:40 +0100 |
| commit | 6d2cee0398bb180a2827a9b05198c31db4f49086 (patch) | |
| tree | 1e7db7fec9a448fa9cfbe061e86fecee6fc7a8da | |
| parent | 454338f12d24c0b66f7d182509442ea4ff937f84 (diff) | |
Drop remaining bits of /e/n/i mangling
Trying to restore a potentially outdated /e/n/i file most likely does more harm then good. Someone upgrading from squeeze to wheezy most likely has adjusted his network configuration by now.
| -rw-r--r-- | debian/network-manager.postrm | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/debian/network-manager.postrm b/debian/network-manager.postrm index a95aa9a1..d41768c5 100644 --- a/debian/network-manager.postrm +++ b/debian/network-manager.postrm @@ -27,15 +27,8 @@ case "$1" in fi ;; remove) - # Restore the ifupdown configuration that were disabled at installation - # TODO: drop this code in jessie - backup_suffix=0 - while test -e /etc/network/interfaces.bak-${backup_suffix}; do - backup_suffix=$(($backup_suffix + 1)) - done - if [ -f /etc/network/interfaces ]; then - sed -i.bak-${backup_suffix} -e "s/^#NetworkManager#//g" /etc/network/interfaces - fi + # Since we no longer run the ifblacklist_migrate.sh script + # we also don't need to clean up anymore afterwards. ;; upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; |