[neon/forks/ubuntu-release-upgrader/Neon/unstable_jammy] DistUpgrade: put in correct function

Jonathan Esk-Riddell null at kde.org
Fri Sep 2 14:54:45 BST 2022


Git commit 0d65538df0437b76aaf0f500a42193c983f8ed1f by Jonathan Esk-Riddell.
Committed on 02/09/2022 at 13:54.
Pushed by jriddell into branch 'Neon/unstable_jammy'.

put in correct function

M  +2    -2    DistUpgrade/DistUpgradeQuirks.py

https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/0d65538df0437b76aaf0f500a42193c983f8ed1f

diff --git a/DistUpgrade/DistUpgradeQuirks.py b/DistUpgrade/DistUpgradeQuirks.py
index 85174624..bbf20d5a 100644
--- a/DistUpgrade/DistUpgradeQuirks.py
+++ b/DistUpgrade/DistUpgradeQuirks.py
@@ -138,11 +138,11 @@ class DistUpgradeQuirks(object):
         # the snaps-to-install list for the actual upgrade.
         if self._snapstore_reachable:
             self._calculateSnapSizeRequirements()
+        # neon packages with versions < in focal
+        copyfile('98-jammy-overrides', '/etc/apt/preferences.d/98-jammy-overrides')
 
     def jammyPostUpgrade(self):
         logging.debug("running Quirks.jammyPostUpgrade")
-        # neon packages with versions < in focal
-        copyfile('98-jammy-overrides', '/etc/apt/preferences.d/98-jammy-overrides')
         # Make sure legacy pins are cleaned up before doing anything to prevent
         # dependency resolution problems caused by old pins.
         # This includes the neon-settings pin. The future package shouldn't include


More information about the Neon-commits mailing list