install_NEO_OCL_driver: Added user to render group. (#3099)

This commit is contained in:
Artyom Anokhov 2020-11-12 19:35:19 +03:00 committed by GitHub
parent 9379247076
commit 92f977211e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,6 +326,11 @@ add_user_to_video_group()
if [[ $? -ne 0 ]]; then
echo "WARNING: unable to add $real_user to the video group" >&2
fi
echo "Adding $real_user to the render group..."
usermod -a -G render "$real_user"
if [[ $? -ne 0 ]]; then
echo "WARNING: unable to add $real_user to the render group" >&2
fi
}
_check_distro_version()