diff --git a/debian-packager/postinst b/debian-packager/postinst new file mode 100755 index 0000000000..ede836e862 --- /dev/null +++ b/debian-packager/postinst @@ -0,0 +1,6 @@ +#!/bin/bash +set -e +echo 'Enabling networking capability on Linux...' +set -x +[ -f /usr/games/PCSX2 ] && setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/games/PCSX2 +set +x