[neon/plasma/kwin/Neon/unstable] debian: match how we do setcap in ksystemstats

Carlos De Maine null at kde.org
Sun Sep 13 01:51:34 BST 2026


Git commit e0b9f13778a8fdfb245076eac3fa72cdec2dfce4 by Carlos De Maine.
Committed on 13/09/2026 at 00:50.
Pushed by carlosdem into branch 'Neon/unstable'.

match how we do setcap in ksystemstats

M  +9    -0    debian/rules

https://invent.kde.org/neon/plasma/kwin/-/commit/e0b9f13778a8fdfb245076eac3fa72cdec2dfce4

diff --git a/debian/rules b/debian/rules
index e099b3b..9130f74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,12 @@
 
 override_dh_auto_configure:
 	dh_auto_configure -- -DCMAKE_CXX_STANDARD=23 -DCMAKE_CXX_STANDARD_REQUIRED=TRUE
+
+
+override_dh_install:
+	# make sure dir exists
+	mkdir -p debian/kwin-wayland/DEBIAN
+	# sed in our multiarch path
+	sed 's|@DEB_HOST_MULTIARCH@|$(DEB_HOST_MULTIARCH)|g' debian/kwin-wayland.postinst.in > debian/kwin-wayland/DEBIAN/postinst
+	# ensure the postinst is executable
+	chmod 755 debian/kwin-wayland/DEBIAN/postinst



More information about the Neon-commits mailing list