File indexing completed on 2024-05-05 05:38:40
0001 #!/bin/bash 0002 0003 source @CMAKE_INSTALL_FULL_LIBEXECDIR@/plasma-dev-prefix.sh 0004 0005 # This is a bit of a hack done because systemd starts in pam, and we only set our dev paths after all that is complete 0006 # This copies everything into a transient runtime directory that systemd reads and reloads the units 0007 0008 if [ ! -z "$XDG_RUNTIME_DIR" ]; then 0009 mkdir -p "$XDG_RUNTIME_DIR/systemd/user.control" 0010 command cp -r @KDE_INSTALL_FULL_SYSTEMDUSERUNITDIR@/* $XDG_RUNTIME_DIR/systemd/user.control 0011 systemctl --user daemon-reload 0012 fi 0013 0014 0015 startplasma$@ 0016 0017 if [ ! -z "$XDG_RUNTIME_DIR" ]; then 0018 cd @KDE_INSTALL_FULL_SYSTEMDUSERUNITDIR@ 0019 for i in *; do 0020 rm -r $XDG_RUNTIME_DIR/systemd/user.control/$i 0021 done 0022 systemctl --user daemon-reload 0023 fi