diff options
Diffstat (limited to 'testing/source/vtown/kde/doinst.sh/kinit')
-rw-r--r-- | testing/source/vtown/kde/doinst.sh/kinit | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/source/vtown/kde/doinst.sh/kinit b/testing/source/vtown/kde/doinst.sh/kinit new file mode 100644 index 00000000..27e18004 --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kinit @@ -0,0 +1,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 |