Add the .INSTALL script needed for kmsgrab to work
This also removes the standalone PKGBUILD artifact because our PKGBUILD has external dependencies now.
This commit is contained in:
parent
74ce047a4b
commit
cb4bfaa2f4
5 changed files with 17 additions and 18 deletions
12
packaging/linux/Arch/sunshine.install
Normal file
12
packaging/linux/Arch/sunshine.install
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
do_setcap() {
|
||||
setcap cap_sys_admin+p $(readlink -f $(which sunshine))
|
||||
}
|
||||
|
||||
post_install() {
|
||||
do_setcap
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
do_setcap
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue