mirror of
https://github.com/YunoHost-Apps/umami_ynh.git
synced 2024-10-01 13:34:50 +02:00
fix
This commit is contained in:
parent
07538fcb2f
commit
bb7a3c4d66
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,6 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
# Install Nodejs
|
# Install Nodejs
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
ynh_use_nodejs
|
|
||||||
|
|
||||||
# Install Yarn
|
# Install Yarn
|
||||||
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
|
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
|
||||||
|
@ -130,6 +129,7 @@ chown $app:$app "$final_path/.env"
|
||||||
ynh_script_progression --message="Configuring the app..." --weight=15
|
ynh_script_progression --message="Configuring the app..." --weight=15
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install #--production
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install #--production
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn update-db
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn update-db
|
||||||
|
|
|
@ -99,7 +99,6 @@ ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
# Install Nodejs
|
# Install Nodejs
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
ynh_use_nodejs
|
|
||||||
|
|
||||||
# Install Yarn
|
# Install Yarn
|
||||||
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
|
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
|
||||||
|
@ -118,6 +117,7 @@ ynh_add_nginx_config
|
||||||
ynh_script_progression --message="Configuring the app..." --weight=15
|
ynh_script_progression --message="Configuring the app..." --weight=15
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install #--production
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install #--production
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn update-db
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn update-db
|
||||||
|
|
Loading…
Add table
Reference in a new issue