[neon/neon-packaging/plasma-login-manager/Neon/stable] debian: update scripts

Carlos De Maine null at kde.org
Mon Jun 15 08:14:08 BST 2026


Git commit 906023e8416d43819abb6b3fc4dd3401d127f474 by Carlos De Maine.
Committed on 15/06/2026 at 07:14.
Pushed by carlosdem into branch 'Neon/stable'.

update scripts

M  +3    -1    debian/Xsession
M  +11   -0    debian/wayland-session

https://invent.kde.org/neon/neon-packaging/plasma-login-manager/-/commit/906023e8416d43819abb6b3fc4dd3401d127f474

diff --git a/debian/Xsession b/debian/Xsession
index 049e949..53b905d 100755
--- a/debian/Xsession
+++ b/debian/Xsession
@@ -1,7 +1,9 @@
 #! /bin/sh
 # Xsession - run as user
+# Copyright (C) 2016 Pier Luigi Fiorini <pierluigi.fiorini at gmail.com>
 
-session=$1
+# This file is extracted from kde-workspace (kdm/kfrontend/genkdmconf.c)
+# Copyright (C) 2001-2005 Oswald Buddenhagen <ossi at kde.org>
 
 # Note that the respective logout scripts are not sourced.
 case $SHELL in
diff --git a/debian/wayland-session b/debian/wayland-session
index 74f0c47..99c5e2e 100755
--- a/debian/wayland-session
+++ b/debian/wayland-session
@@ -1,7 +1,15 @@
 #!/bin/sh
 # wayland-session - run as user
+# Copyright (C) 2015-2016 Pier Luigi Fiorini <pierluigi.fiorini at gmail.com>
+
+# This file is extracted from kde-workspace (kdm/kfrontend/genkdmconf.c)
+# Copyright (C) 2001-2005 Oswald Buddenhagen <ossi at kde.org>
 
 # Note that the respective logout scripts are not sourced.
+
+# Backup the user shell setting into PLASMALOGIN specific variable
+PLASMALOGIN_USER_SHELL=$SHELL
+
 case $SHELL in
   */bash)
     [ -z "$BASH" ] && exec $SHELL $0 "$@"
@@ -49,4 +57,7 @@ case $SHELL in
     ;;
 esac
 
+# Restore user shell setting that may have been clobbered by setting environment
+export SHELL=$PLASMALOGIN_USER_SHELL
+
 exec $@


More information about the Neon-commits mailing list