diff options
author | DuckSoft | 2020-09-05 00:06:57 +0800 |
---|---|---|
committer | DuckSoft | 2020-09-05 00:06:57 +0800 |
commit | 6ba03eacd1c7bc12d3f2d7f11951c0ac95d9ee81 (patch) | |
tree | 315c068189cf2d6ea8039687a2368105383ff882 /v2ray-cap.hook | |
parent | 75fd049f17e6c9db896a7f8d2e46b51fbf69256f (diff) | |
download | aur-v2ray-cap-git.tar.gz |
updating according to upstream
Diffstat (limited to 'v2ray-cap.hook')
-rw-r--r-- | v2ray-cap.hook | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/v2ray-cap.hook b/v2ray-cap.hook index 8325e2340fad..db35cb3d2ff4 100644 --- a/v2ray-cap.hook +++ b/v2ray-cap.hook @@ -2,13 +2,13 @@ Operation = Install Operation = Upgrade Type = Path -Target = usr/lib/v2ray/v2ray +Target = usr/bin/v2ray [Action] Description = setcap to v2ray Depends = libcap When = PostTransaction -Exec = /usr/bin/setcap "cap_net_bind_service=+ep cap_net_admin=+ep" /usr/lib/v2ray/v2ray +Exec = /usr/bin/setcap "cap_net_bind_service=+ep cap_net_admin=+ep" /usr/bin/v2ray NeedsTargets |