summaryrefslogtreecommitdiff
path: root/games/pcsx2/doinst.sh
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-12-15 01:15:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-15 01:15:14 +0700
commitbca53de125baf6a7f3a5c7de62c04944c13e97fd (patch)
tree923467b77608f6f04b5445eaa6fecfdae1863039 /games/pcsx2/doinst.sh
parent88686099809b90dc80c21fea5292be8137d4d1a5 (diff)
downloadslackbuilds-bca53de125baf6a7f3a5c7de62c04944c13e97fd.tar.gz
games/pcsx2: Updated for version 2018.12.11_0e43803.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 e5c312a460..7fe767b718 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