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