mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
ptp_helper_post_install.sh: deal with none
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/620>
This commit is contained in:
parent
1aa16e0b2b
commit
40c994cdde
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ case "$with_ptp_helper_permissions" in
|
|||
echo "Calling $setcap cap_net_bind_service,cap_net_admin+ep $ptp_helper"
|
||||
$setcap cap_net_bind_service,cap_net_admin+ep "$ptp_helper" || true
|
||||
;;
|
||||
none)
|
||||
echo "No perms/caps to set for $ptp_helper"
|
||||
;;
|
||||
*)
|
||||
echo "$0 ERROR: unexpected permissions value '$with_ptp_helper_permissions'";
|
||||
exit 2;
|
||||
|
|
Loading…
Reference in a new issue