mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
Fix
This commit is contained in:
parent
bb593ea42f
commit
d6eea3aaf6
3 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@
|
||||||
"name": ""
|
"name": ""
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.1.7"
|
"yunohost": ">= 4.1.8"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
|
@ -117,8 +117,8 @@ ynh_script_progression --message="Building CodiMD... (this will take some time a
|
||||||
|
|
||||||
pushd "$final_path" || ynh_die
|
pushd "$final_path" || ynh_die
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less bin/setup
|
ynh_exec_warn_less ynh_exec_as --user=$app bin/setup
|
||||||
ynh_exec_warn_less yarn run build
|
ynh_exec_warn_less ynh_exec_as --user=$app yarn run build
|
||||||
popd || ynh_die
|
popd || ynh_die
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -135,8 +135,8 @@ then
|
||||||
|
|
||||||
pushd "$final_path" || ynh_die
|
pushd "$final_path" || ynh_die
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less bin/setup
|
ynh_exec_warn_less ynh_exec_as --user=$app bin/setup
|
||||||
ynh_exec_warn_less yarn run build
|
ynh_exec_warn_less ynh_exec_as --user=$app yarn run build
|
||||||
popd || ynh_die
|
popd || ynh_die
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue