mirror of
https://github.com/YunoHost-Apps/osjs_ynh.git
synced 2024-09-03 19:56:11 +02:00
fix
This commit is contained in:
parent
d1cfcaf009
commit
f1cd2806c8
2 changed files with 8 additions and 8 deletions
|
@ -59,10 +59,10 @@ ynh_script_progression --message="Building $app..."
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
$ynh_npm install
|
ynh_exec_warn_less $ynh_npm install
|
||||||
$ynh_npm run package:discover
|
ynh_exec_warn_less $ynh_npm run package:discover
|
||||||
$ynh_npm run build
|
ynh_exec_warn_less $ynh_npm run build
|
||||||
npm install --save --production @osjs/pam-auth
|
ynh_exec_warn_less npm install --save --production @osjs/pam-auth
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_replace_string --match_string="8000" --replace_string="$port" --target_file="$install_dir/src/server/config.js"
|
ynh_replace_string --match_string="8000" --replace_string="$port" --target_file="$install_dir/src/server/config.js"
|
||||||
|
|
|
@ -82,10 +82,10 @@ ynh_script_progression --message="Building app..."
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
$ynh_npm install
|
ynh_exec_warn_less $ynh_npm install
|
||||||
$ynh_npm run package:discover
|
ynh_exec_warn_less $ynh_npm run package:discover
|
||||||
$ynh_npm run build
|
ynh_exec_warn_less $ynh_npm run build
|
||||||
npm install --save --production @osjs/pam-auth
|
ynh_exec_warn_less npm install --save --production @osjs/pam-auth
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_replace_string --match_string="8000" --replace_string="$port" --target_file="$install_dir/src/server/config.js"
|
ynh_replace_string --match_string="8000" --replace_string="$port" --target_file="$install_dir/src/server/config.js"
|
||||||
|
|
Loading…
Add table
Reference in a new issue