summaryrefslogtreecommitdiff
path: root/testing/source/vtown/kde/doinst.sh/kinit
blob: 27e18004d439087b23f24556f8228bb112958157 (plain)
1
2
3
4
5
6
7
# Re-run the 'setcap' command which fails during package buikding
# (because of a mising DESTDIR?):
if [ -f usr/lib64/kf5/start_kdeinit ]; then
  /sbin/setcap CAP_SYS_RESOURCE=+ep usr/lib64/kf5/start_kdeinit
elif [ -f usr/lib/kf5/start_kdeinit ]; then
  /sbin/setcap CAP_SYS_RESOURCE=+ep usr/lib/kf5/start_kdeinit
fi