File indexing completed on 2024-04-28 16:54:46

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$@