mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
helpers2.1: use the MEDIA_GROUP global var for consistency
This commit is contained in:
parent
ef622ffe4d
commit
50034aabdd
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue