1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lingva_ynh.git synced 2024-09-03 19:36:20 +02:00

pembaruan

This commit is contained in:
Neko Nekowazarashi 2023-05-29 19:49:20 +07:00
parent 659b54df91
commit a633ad7648
2 changed files with 4 additions and 4 deletions

View file

@ -42,9 +42,9 @@ fi
ynh_script_progression --message="Rebuilding the app..." --weight=1
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --prefix="$install_dir"
npx next telemetry disable
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm build
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm build --prefix="$install_dir"
#=================================================
# GENERIC FINALISATION

View file

@ -117,9 +117,9 @@ chown $app:$app "$install_dir/.env.local"
ynh_script_progression --message="Rebuilding the app..." --weight=1
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --prefix="$install_dir"
npx next telemetry disable
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm build
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm build --prefix="$install_dir"
#=================================================
# START SYSTEMD SERVICE