aboutsummaryrefslogtreecommitdiff
path: root/games/pcsx2/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/pcsx2/doinst.sh')
-rw-r--r--games/pcsx2/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/pcsx2/doinst.sh b/games/pcsx2/doinst.sh
index e5c312a460c11..7fe767b718f7f 100644
--- a/games/pcsx2/doinst.sh
+++ b/games/pcsx2/doinst.sh
@@ -7,3 +7,7 @@ if [ -x /usr/bin/gdk-pixbuf-query-loaders ]; then
/usr/bin/gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
fi
fi
+
+if [ -x /sbin/setcap ] && [ -f usr/bin/PCSX2 ]; then
+ /sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/PCSX2
+fi