summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/doinst.sh/kinit
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kde/doinst.sh/kinit')
-rw-r--r--source/kde/kde/doinst.sh/kinit4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/kde/kde/doinst.sh/kinit b/source/kde/kde/doinst.sh/kinit
index 71da4cc7e..8cb319d1f 100644
--- a/source/kde/kde/doinst.sh/kinit
+++ b/source/kde/kde/doinst.sh/kinit
@@ -1,4 +1,6 @@
# Run the 'setcap' command as standard Slackware packages do not store caps:
-if [ -f usr/lib/kf5/start_kdeinit ]; then
+if [ -f elif usr/lib/libexec/kf5/start_kdeinit ]; then
+ /sbin/setcap CAP_SYS_RESOURCE=+ep usr/lib/libexec/kf5/start_kdeinit
+elif [ -f usr/lib/kf5/start_kdeinit ]; then
/sbin/setcap CAP_SYS_RESOURCE=+ep usr/lib/kf5/start_kdeinit
fi