[neon/neon/ubuntu-advantage-tools/Neon/release] debian: dpkg-divert --rename

Carlos De Maine null at kde.org
Fri Jun 19 12:44:56 BST 2026


Git commit a2dd9654614f8d32dcdffe0852598d031e7e3dc5 by Carlos De Maine.
Committed on 19/06/2026 at 11:44.
Pushed by carlosdem into branch 'Neon/release'.

dpkg-divert --rename

M  +1    -1    debian/ubuntu-advantage-tools.postinst

https://invent.kde.org/neon/neon/ubuntu-advantage-tools/-/commit/a2dd9654614f8d32dcdffe0852598d031e7e3dc5

diff --git a/debian/ubuntu-advantage-tools.postinst b/debian/ubuntu-advantage-tools.postinst
index 0163564..e461972 100644
--- a/debian/ubuntu-advantage-tools.postinst
+++ b/debian/ubuntu-advantage-tools.postinst
@@ -13,7 +13,7 @@ fi
 
 # dpkg-divert the service away as well
 dpkg-divert --rename --remove /etc/apt/apt.conf.d/20apt-esm-hook.conf  || true
-dpkg-divert --add --package ubuntu-advantage-tools --divert /etc/kde_neon/20apt-esm-hook.conf.distrib /etc/apt/apt.conf.d/20apt-esm-hook-neon.conf
+dpkg-divert --no-rename --add --package ubuntu-advantage-tools --divert /etc/kde_neon/20apt-esm-hook.conf.distrib /etc/apt/apt.conf.d/20apt-esm-hook-neon.conf
 
 if [ -L "/etc/apt/apt.conf.d/20apt-esm-hook.conf" -o ! -e "/etc/apt/apt.conf.d/20apt-esm-hook.conf" ]
 then


More information about the Neon-commits mailing list