summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/post-install/plasma-workspace.post-install
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-04-24 22:28:34 +0000
committer Eric Hameleers <alien@slackware.com>2023-04-25 01:33:55 +0200
commit992c464040a6a0e66c9775739fa155c5c8cd0e83 (patch)
tree9a0a5ea95fc37195497e4a75ae3c5936a84f9577 /source/kde/kde/post-install/plasma-workspace.post-install
parent2afec1d1768f9cbcc3e963eb0b22d822aea4db1e (diff)
downloadcurrent-992c464040a6a0e66c9775739fa155c5c8cd0e83.tar.gz
current-992c464040a6a0e66c9775739fa155c5c8cd0e83.tar.xz
Mon Apr 24 22:28:34 UTC 202320230424222834
d/parallel-20230422-noarch-1.txz: Upgraded. d/patchelf-0.18.0-x86_64-1.txz: Upgraded. d/perl-5.36.1-x86_64-1.txz: Upgraded. Upgraded: libnet-3.15. kde/baloo-5.105.0-x86_64-2.txz: Rebuilt. Move XDG directory to /etc/kde/xdg. kde/kdepim-addons-23.04.0-x86_64-2.txz: Rebuilt. Add some more import plugins. kde/kdiagram-2.8.0-x86_64-5.txz: Rebuilt. Include license in docs. kde/kid3-3.9.3-x86_64-2.txz: Rebuilt. kde/kross-interpreters-23.04.0-x86_64-2.txz: Rebuilt. Add krossruby.so. kde/kservice-5.105.0-x86_64-2.txz: Rebuilt. Use default menu name. kde/ktextaddons-1.2.1-x86_64-1.txz: Upgraded. kde/marble-23.04.0-x86_64-2.txz: Rebuilt. Add marble-maps. kde/plasma-browser-integration-5.27.4-x86_64-2.txz: Rebuilt. Move under /etc/kde. kde/prison-5.105.0-x86_64-2.txz: Rebuilt. Add PrisonScanner component. kde/pulseaudio-qt-1.3-x86_64-3.txz: Rebuilt. Include licenses in docs. kde/solid-5.105.0-x86_64-2.txz: Rebuilt. Add solid-power. kde/umbrello-23.04.0-x86_64-2.txz: Rebuilt. Don't ship API docs. l/glib2-2.76.2-x86_64-1.txz: Upgraded. l/imagemagick-7.1.1_8-x86_64-1.txz: Upgraded. l/libmtp-1.1.21-x86_64-1.txz: Upgraded. xfce/xfce4-weather-plugin-0.11.1-x86_64-1.txz: Upgraded.
Diffstat (limited to '')
-rw-r--r--source/kde/kde/post-install/plasma-workspace.post-install26
1 files changed, 6 insertions, 20 deletions
diff --git a/source/kde/kde/post-install/plasma-workspace.post-install b/source/kde/kde/post-install/plasma-workspace.post-install
index 8f3839ec2..633d16274 100644
--- a/source/kde/kde/post-install/plasma-workspace.post-install
+++ b/source/kde/kde/post-install/plasma-workspace.post-install
@@ -35,23 +35,9 @@ rmdir $PKG/usr/lib$LIBDIRSUFFIX/qt5/plugins/plugins
mkdir -p $PKG/etc
mv $PKG/etc/kde/dbus-1 $PKG/etc/
-if [ "$SLACKPAM" == "no" ]; then
- # For shadow, this file needs to be setuid root just like the KDE4 version:
- if [ -f $PKG/usr/lib$LIBDIRSUFFIX/kcheckpass ]; then
- chmod +s $PKG/usr/lib$LIBDIRSUFFIX/kcheckpass
- fi
-
- # ck-launch-session is needed for a Wayland session, since we do not have PAM:
- sed -e 's/^Exec=dbus-launch/Exec=ck-launch-session dbus-launch --sh-syntax/' \
- -i $PKG/usr/share/wayland-sessions/plasmawayland.desktop
-else
- # Install a PAM file for Plasma5 workspace:
- install -Dm644 $CWD/post-install/plasma-workspace/pam.d/kde $PKG/etc/pam.d/kde.new
-fi
-
-if [ "$SLKELOGIND" == "yes" ]; then
- # Since elogind does not set DBUS_SESSION_BUS_ADDRESS we need to start
- # Plasma X11 session through dbus-run-session like Wayland is launched:
- sed -i $PKG/usr/share/xsessions/plasma.desktop \
- -e "s,^Exec=/,Exec=dbus-run-session /,"
-fi
+# Install a PAM file for Plasma5 workspace:
+install -Dm644 $CWD/post-install/plasma-workspace/pam.d/kde $PKG/etc/pam.d/kde.new
+
+# Since elogind does not set DBUS_SESSION_BUS_ADDRESS we need to start
+# Plasma X11 session through dbus-run-session like Wayland is launched:
+sed -i $PKG/usr/share/xsessions/plasma.desktop -e "s,^Exec=/,Exec=dbus-run-session /,"