diff options
author | kenshen112 | 2023-03-24 09:28:22 -0700 |
---|---|---|
committer | kenshen112 | 2023-03-24 09:28:22 -0700 |
commit | 4d43022a48af8b622aaff92aeb563f2503faa1ae (patch) | |
tree | 22806b5dec89fa7fc567f300cada7b7f0d0361d3 /pcsx2-git.install | |
parent | 37561f2bb15910242def06a3b6fa3d1b9e5dae39 (diff) | |
download | aur-4d43022a48af8b622aaff92aeb563f2503faa1ae.tar.gz |
Further PKGBUILD work
Diffstat (limited to 'pcsx2-git.install')
-rw-r--r-- | pcsx2-git.install | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pcsx2-git.install b/pcsx2-git.install index 83bfd015205d..d2158ea3ce81 100644 --- a/pcsx2-git.install +++ b/pcsx2-git.install @@ -1,10 +1,15 @@ # For DEV9 netplay support post_install() { - setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/pcsx2-qt + setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /opt/pcsx2/pcsx2-qt } post_upgrade() { - setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/pcsx2-qt + setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /opt/pcsx2/pcsx2-qt +} + +pre_remove() +{ + setcap -r /opt/pcsx2/pcsx2-qt } |