diff options
author | LunarEclipse | 2022-11-26 15:32:02 +0100 |
---|---|---|
committer | LunarEclipse | 2022-11-26 15:32:02 +0100 |
commit | 7e88feaaaaed760443ec11a94376fc06ce4ec555 (patch) | |
tree | 3c85ce999d455aaba9cd0dc2a8d2cd6459b50f38 /airshipper.install | |
parent | d5f39ccaf033bc1c9783da56de1d68f7c45ca215 (diff) | |
download | aur-7e88feaaaaed760443ec11a94376fc06ce4ec555.tar.gz |
Fixed ping display in server browser.
Diffstat (limited to 'airshipper.install')
-rw-r--r-- | airshipper.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/airshipper.install b/airshipper.install new file mode 100644 index 000000000000..774919b10005 --- /dev/null +++ b/airshipper.install @@ -0,0 +1,12 @@ +_setcap_for_airshipper() { + # This is required for the server browser to be able to show ping. + setcap cap_net_raw=pe /usr/bin/airshipper +} + +post_install() { + _setcap_for_airshipper +} + +post_upgrade() { + _setcap_for_airshipper +} |