blob: a8c31ceaaecd7dfdcb6b8487ce87c9df29d14193 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
post_install() {
# For now, the launcher needs to set CAP_SYS_NICE on the downloaded game
# client (to make the audio issues go away), hence the CAP_SETFCAP.
#
# If the client eventually learns how to raise ambient capabilities, then
# just `setcap CAP_SYS_NICE` by itself will be enough. But we can't really
# achieve this at Arch side.
#setcap cap_sys_nice=eip usr/share/games/runescape-launcher/runescape
setcap cap_setfcap=eip usr/share/games/runescape-launcher/runescape
}
post_upgrade() {
post_install
}
# vim: ft=sh:ts=4:sw=4:et:nowrap
|