[neon/forks/ubuntu-release-upgrader/Neon/unstable_jammy] debian: brand polkit actions using a simple sed on the xml

Harald Sitter null at kde.org
Tue Apr 26 19:20:53 BST 2022


Git commit 158bafd82a60ae9b585e34fdae7ce8f7ff2c6b93 by Harald Sitter.
Committed on 26/04/2022 at 18:17.
Pushed by sitter into branch 'Neon/unstable_jammy'.

brand polkit actions using a simple sed on the xml

should be reliable enough.
T9536
# Conflicts:
#	debian/rules

M  +1    -0    debian/rules

https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/158bafd82a60ae9b585e34fdae7ce8f7ff2c6b93

diff --git a/debian/rules b/debian/rules
index b0eb8873..f9db2006 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,6 +48,7 @@ override_dh_auto_install:
 	set -ex; for python in $(PY3); do \
 		LANG=C.UTF-8 LC_ALL=C.UTF-8 $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
 	done
+	sed -i 's/Ubuntu/KDE neon/g' $(CURDIR)/debian/tmp/usr/share/polkit-1/actions/com.ubuntu.release-upgrader.policy
 
 override_dh_python3-indep:
 	mkdir -p debian/ubuntu-release-upgrader-gtk/usr/bin



More information about the Neon-commits mailing list