Install script fails if /etc/dbus-1 doesn't exist
When going through the local development steps, it has you run install-sessions.sh
to add the newly-built DE to SDDM. However, this script fails to run if (as was the case on my machine) the folder /etc/dbus-1/
does not exist.
Please accept this simple patch to fix the issue. I would create a merge request myself but I don't have access
diff --git a/login-sessions/install-sessions.sh.cmake b/login-sessions/install-sessions.sh.cmake
index 3041bd227..372ccd011 100755
--- a/login-sessions/install-sessions.sh.cmake
+++ b/login-sessions/install-sessions.sh.cmake
@@ -29,5 +29,6 @@ then
<includedir>/opt/kde-dbus-scripts/interfaces/</includedir>
</busconfig>
EOF
+ sudo mkdir -p /etc/dbus-1/
sudo mv session-local.conf /etc/dbus-1/
fi
--
2.39.2
P.S, I tried to find the appropriate category in bugs.kde.org but I'm completely at a loss, so trying here first :)