1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

Set group to admin

This commit is contained in:
Salamandar 2024-03-22 00:10:35 +01:00
parent 7e95311c14
commit a084c3042b
3 changed files with 21 additions and 0 deletions

View file

@ -17,6 +17,13 @@ ynh_use_nodejs
ynh_exec_warn_less "$ynh_npm" install -g configurable-http-proxy ynh_exec_warn_less "$ynh_npm" install -g configurable-http-proxy
#=================================================
# SET ADMIN GROUP
#=================================================
ynh_script_progression --message="Adding $admin to $app's group..." --weight=5
usermod -a -G "$app" "$admin"
#================================================= #=================================================
# BUILD APP # BUILD APP
#================================================= #=================================================

View file

@ -18,6 +18,13 @@ ynh_use_nodejs
ynh_exec_warn_less "$ynh_npm" install -g configurable-http-proxy ynh_exec_warn_less "$ynh_npm" install -g configurable-http-proxy
#=================================================
# SET ADMIN GROUP
#=================================================
ynh_script_progression --message="Adding $admin to $app's group..." --weight=5
usermod -a -G "$app" "$admin"
#================================================= #=================================================
# RESTORE THE APP MAIN DIR # RESTORE THE APP MAIN DIR
#================================================= #=================================================

View file

@ -24,6 +24,13 @@ ynh_use_nodejs
ynh_exec_warn_less "$ynh_npm" install -g configurable-http-proxy ynh_exec_warn_less "$ynh_npm" install -g configurable-http-proxy
#=================================================
# SET ADMIN GROUP
#=================================================
ynh_script_progression --message="Adding $admin to $app's group..." --weight=5
usermod -a -G "$app" "$admin"
#================================================= #=================================================
# BUILD APP # BUILD APP
#================================================= #=================================================