[neon/kde/kwin/Neon/unstable] debian: get the last kf6 install paths

Carlos De Maine null at kde.org
Tue Mar 14 14:35:50 GMT 2023


Git commit a9a0571d9248793f32093495cb98fdf91f80b14c by Carlos De Maine.
Committed on 14/03/2023 at 14:35.
Pushed by carlosdem into branch 'Neon/unstable'.

get the last kf6 install paths

M  +1    -1    debian/kwin-x11.links
M  +2    -2    debian/kwin-x11.postinst
M  +1    -1    debian/kwin-x11.prerm

https://invent.kde.org/neon/kde/kwin/commit/a9a0571d9248793f32093495cb98fdf91f80b14c

diff --git a/debian/kwin-x11.links b/debian/kwin-x11.links
index b258253..fe37ec7 100644
--- a/debian/kwin-x11.links
+++ b/debian/kwin-x11.links
@@ -1 +1 @@
-usr/bin/kwin_x11 usr/bin/kwin
+usr/kf6/bin/kwin_x11 usr/kf6/bin/kwin
diff --git a/debian/kwin-x11.postinst b/debian/kwin-x11.postinst
index 123e72d..da00948 100644
--- a/debian/kwin-x11.postinst
+++ b/debian/kwin-x11.postinst
@@ -19,8 +19,8 @@ set -e
 
 case "$1" in
     configure)
-        update-alternatives --remove x-window-manager /usr/bin/kwin
-	update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/kwin_x11 50
+        update-alternatives --remove x-window-manager /usr/kf6/bin/kwin
+	update-alternatives --install /usr/kf6/bin/x-window-manager x-window-manager /usr/kf6/bin/kwin_x11 50
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/debian/kwin-x11.prerm b/debian/kwin-x11.prerm
index 63a4042..a672105 100644
--- a/debian/kwin-x11.prerm
+++ b/debian/kwin-x11.prerm
@@ -19,7 +19,7 @@ set -e
 
 case "$1" in
     remove)
-        update-alternatives --remove x-window-manager /usr/bin/kwin_x11
+        update-alternatives --remove x-window-manager /usr/kf6/bin/kwin_x11
     ;;
 
     upgrade|deconfigure)


More information about the Neon-commits mailing list