mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
ptp_helper_post_install.sh: deal with none
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/655>
This commit is contained in:
parent
ef4b61496d
commit
30151e6f40
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