mirror of
https://github.com/YunoHost-Apps/lingva_ynh.git
synced 2024-09-03 19:36:20 +02:00
perbaiki waktu pemasangan
This commit is contained in:
parent
42778943a4
commit
1a4255c9d5
2 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,7 @@ echo "module.exports = { basePath: '$next_path', };" >> "$install_dir/next.confi
|
|||
#=================================================
|
||||
ynh_script_progression --message="Building the app..." --weight=1
|
||||
|
||||
ynh_use_nodejs
|
||||
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 run build --prefix="$install_dir"
|
||||
|
|
|
@ -122,6 +122,7 @@ 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 --prefix="$install_dir"
|
||||
npx next telemetry disable
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build --prefix="$install_dir"
|
||||
|
|
Loading…
Reference in a new issue