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:
parent
7e95311c14
commit
a084c3042b
3 changed files with 21 additions and 0 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue