mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +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"
|
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
|
$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'";
|
echo "$0 ERROR: unexpected permissions value '$with_ptp_helper_permissions'";
|
||||||
exit 2;
|
exit 2;
|
||||||
|
|
Loading…
Reference in a new issue