From 3742b927ff530d8402a9aabee6e25cfa15d7d33d Mon Sep 17 00:00:00 2001 From: Krakinou Date: Wed, 19 Dec 2018 20:56:11 +0100 Subject: [PATCH] Change multimedia group --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index d76e796..360bc46 100755 --- a/scripts/install +++ b/scripts/install @@ -111,8 +111,7 @@ ynh_add_nginx_config # Create a system user ynh_system_user_create $app -#add user to multimedia group -usermod -a -G multimedia $app + chown -R $app: $final_path @@ -129,6 +128,8 @@ ynh_add_systemd_config # Build YunoHost multimedia directories ynh_multimedia_build_main_dir +#add user to multimedia group +usermod -a -G multimedia $app #Check if library folder exists. If not create it if [ ! -e "$calibre_dir" ]; then