summarylogtreecommitdiffstats
path: root/pcsx2-git.install
diff options
context:
space:
mode:
authoréclairevoyant2023-03-23 19:15:08 -0400
committerkenshen1122023-03-23 21:26:46 -0700
commitd755bc1dd89634346f71cee32631500eaf644992 (patch)
tree6cc97859675447a71d29bf611b709a151a209e2f /pcsx2-git.install
parent7a207a08f34f2058ddcb676fe106b1d7a6b3df9d (diff)
downloadaur-d755bc1dd89634346f71cee32631500eaf644992.tar.gz
fix packaging
Diffstat (limited to 'pcsx2-git.install')
-rw-r--r--pcsx2-git.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/pcsx2-git.install b/pcsx2-git.install
new file mode 100644
index 000000000000..83bfd015205d
--- /dev/null
+++ b/pcsx2-git.install
@@ -0,0 +1,10 @@
+# For DEV9 netplay support
+post_install()
+{
+ setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/pcsx2-qt
+}
+
+post_upgrade()
+{
+ setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/pcsx2-qt
+}