summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/doinst.sh/kinit
blob: 8cb319d1faa9a83e586769901f24dc4674ad9e96 (plain) (blame)
1
2
3
4
5
6
# Run the 'setcap' command as standard Slackware packages do not store caps:
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