fix(packaging/Arch): make cuda and unit tests optional (#4254)

This commit is contained in:
Andrew Moore 2025-09-14 12:11:32 +09:30 • committed by GitHub
commit 5490ca3a56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 81 additions and 23 deletions

View file

@ -1,5 +1,5 @@
do_setcap() {
setcap cap_sys_admin+p $(readlink -f $(which sunshine))
setcap cap_sys_admin+p $(readlink -f usr/bin/sunshine)
}
do_udev_reload() {
@ -19,4 +19,3 @@ post_upgrade() {
do_setcap
do_udev_reload
}