[neon/neon/ubuntu-advantage-tools/Neon/release] debian: use no-rename for the dpkg-divert to not pollute apt's output
Carlos De Maine
null at kde.org
Tue Jun 9 13:45:43 BST 2026
Git commit b1348f36ff5e3ba2e48c76a28e7373ace9d28223 by Carlos De Maine.
Committed on 09/06/2026 at 12:45.
Pushed by carlosdem into branch 'Neon/release'.
use no-rename for the dpkg-divert to not pollute apt's output
M +1 -1 debian/ubuntu-advantage-tools.postinst
https://invent.kde.org/neon/neon/ubuntu-advantage-tools/-/commit/b1348f36ff5e3ba2e48c76a28e7373ace9d28223
diff --git a/debian/ubuntu-advantage-tools.postinst b/debian/ubuntu-advantage-tools.postinst
index e5f8cc7..2fbb4de 100644
--- a/debian/ubuntu-advantage-tools.postinst
+++ b/debian/ubuntu-advantage-tools.postinst
@@ -8,7 +8,7 @@ systemctl mask apt-news.service esm-cache.service >/dev/null 2>&1 || true
# dpkg-divert the service away as well
dpkg-divert --rename --remove /etc/apt/apt.conf.d/20apt-esm-hook.conf || true
-dpkg-divert --rename --add /etc/apt/apt.conf.d/20apt-esm-hook.conf
+dpkg-divert --no-rename --add /etc/apt/apt.conf.d/20apt-esm-hook.conf
#DEBHELPER#
exit 0
More information about the Neon-commits
mailing list