This also removes the standalone PKGBUILD artifact because our PKGBUILD has external dependencies now.
12 lines
139 B
Text
12 lines
139 B
Text
do_setcap() {
|
|
setcap cap_sys_admin+p $(readlink -f $(which sunshine))
|
|
}
|
|
|
|
post_install() {
|
|
do_setcap
|
|
}
|
|
|
|
post_upgrade() {
|
|
do_setcap
|
|
}
|
|
|