From 4bb44e061e500b41d3d0ea5c13eca0351e032574 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 7 Mar 2020 16:42:05 +0100 Subject: [PATCH] install/purge compat change, graceful exit Signed-off-by: Thomas Lamprecht --- ...inst-rm-update-network-config-compatibility.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/patches/pve/0010-postinst-rm-update-network-config-compatibility.patch b/debian/patches/pve/0010-postinst-rm-update-network-config-compatibility.patch index fb63db1..b6a87be 100644 --- a/debian/patches/pve/0010-postinst-rm-update-network-config-compatibility.patch +++ b/debian/patches/pve/0010-postinst-rm-update-network-config-compatibility.patch @@ -26,13 +26,13 @@ index 3689256..4b628e1 100644 + + PVE::INotify::write_file('interfaces', $configdata); + -+ my $config = PVE::INotify::read_file('interfaces', 1); ++ $config = PVE::INotify::read_file('interfaces', 1); + -+ if(defined($config->{changes})) { ++ if (defined($config->{changes})) { + print $config->{changes}; + print "network config changes has been detected for ifupdown2 compatibility and generated in /etc/network/interfaces.new\n"; + } -+ ' ++ ' || true +} + case "$1" in @@ -63,13 +63,13 @@ index 5d90b21..bab3dd0 100644 + + PVE::INotify::write_file('interfaces', $configdata); + -+ my $config = PVE::INotify::read_file('interfaces', 1); ++ $config = PVE::INotify::read_file('interfaces', 1); + -+ if(defined($config->{changes})) { ++ if (defined($config->{changes})) { + print $config->{changes}; + print "network config changes has been detected for ifupdown1 compatibility and generated in /etc/network/interfaces.new\n"; + } -+ ' ++ ' || true +} + case "$1" in -- 2.39.2