helpers2.1: use the MEDIA_GROUP global var for consistency

This commit is contained in:
Alexandre Aubin 2024-07-01 18:49:36 +02:00
parent ef622ffe4d
commit 50034aabdd

View file

@ -84,6 +84,6 @@ ynh_multimedia_addfolder() {
#
# | arg: user_name - The name of the user which gain this access.
ynh_multimedia_addaccess() {
groupadd -f multimedia
usermod -a -G multimedia $1
groupadd -f $MEDIA_GROUP
usermod -a -G $MEDIA_GROUP $1
}