Set kwin_wayland capabilities on install since it needs to be done as root (FS#59988)
parent
b0c2e1ecbc
commit
3266c5c291
@ -0,0 +1,9 @@
|
||||
post_install() {
|
||||
# this is executed by make install, but doesn't work since setcap can only be run as root
|
||||
setcap CAP_SYS_NICE=+ep /usr/bin/kwin_wayland
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
Loading…
Reference in New Issue