about summary refs log tree commit diff
path: root/debian/network-manager.postinst
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2021-10-01 23:53:36 +0200
committerMichael Biebl <biebl@debian.org>2021-10-01 23:53:36 +0200
commitcf3cea148037f9c5ce930a6d44a48be0413427cb (patch)
tree3fc9e46cf5ccc8189a04fddeed5455e8592a582d /debian/network-manager.postinst
parentf1654b96ecaef4cdc259134b07ab31f3822f9e56 (diff)
Remove obsolete upgrade code
Diffstat (limited to 'debian/network-manager.postinst')
-rw-r--r--debian/network-manager.postinst7
1 files changed, 0 insertions, 7 deletions
diff --git a/debian/network-manager.postinst b/debian/network-manager.postinst
index 2996afcc..e5fb9373 100644
--- a/debian/network-manager.postinst
+++ b/debian/network-manager.postinst
@@ -41,13 +41,6 @@ case "$1" in
             fi
         fi
 
-        # Fix up existing /etc/resolv.conf symlinks after the migration to /run
-        if dpkg --compare-versions "$2" lt-nl "1.8.0-4"; then
-            if [ "$(readlink /etc/resolv.conf)" = /var/run/NetworkManager/resolv.conf ] ; then
-                ln -sf  /run/NetworkManager/resolv.conf /etc/resolv.conf
-            fi
-        fi
-
         if dpkg --compare-versions "$2" lt-nl "1.20.4-2"; then
             if [ -f /var/lib/NetworkManager/secret_key ]; then
                 chmod 0600 /var/lib/NetworkManager/secret_key