1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/osjs_ynh.git synced 2024-09-03 19:56:11 +02:00
This commit is contained in:
Éric Gaspar 2023-10-24 14:37:03 +02:00 committed by Félix Piédallu
parent d1cfcaf009
commit f1cd2806c8
2 changed files with 8 additions and 8 deletions

View file

@ -59,10 +59,10 @@ ynh_script_progression --message="Building $app..."
pushd $install_dir
ynh_use_nodejs
$ynh_npm install
$ynh_npm run package:discover
$ynh_npm run build
npm install --save --production @osjs/pam-auth
ynh_exec_warn_less $ynh_npm install
ynh_exec_warn_less $ynh_npm run package:discover
ynh_exec_warn_less $ynh_npm run build
ynh_exec_warn_less npm install --save --production @osjs/pam-auth
popd
ynh_replace_string --match_string="8000" --replace_string="$port" --target_file="$install_dir/src/server/config.js"

View file

@ -82,10 +82,10 @@ ynh_script_progression --message="Building app..."
pushd $install_dir
ynh_use_nodejs
$ynh_npm install
$ynh_npm run package:discover
$ynh_npm run build
npm install --save --production @osjs/pam-auth
ynh_exec_warn_less $ynh_npm install
ynh_exec_warn_less $ynh_npm run package:discover
ynh_exec_warn_less $ynh_npm run build
ynh_exec_warn_less npm install --save --production @osjs/pam-auth
popd
ynh_replace_string --match_string="8000" --replace_string="$port" --target_file="$install_dir/src/server/config.js"