mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
Less warnings
This commit is contained in:
parent
235ee506c9
commit
68eb1f58f6
3 changed files with 7 additions and 7 deletions
|
@ -73,7 +73,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing dependencies..."
|
ynh_script_progression --message="Installing dependencies..."
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
||||||
|
|
||||||
|
@ -163,9 +163,9 @@ config="$final_path/live/config/runtime.exs"
|
||||||
pushd $final_path/live/js
|
pushd $final_path/live/js
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_script_progression --message="Installing NodeJS dependencies (this is going to take a while...)"
|
ynh_script_progression --message="Installing NodeJS dependencies (this is going to take a while...)"
|
||||||
sudo -u $app env PATH=$PATH yarn install
|
ynh_exec_warn_less sudo -u $app env PATH=$PATH yarn install
|
||||||
ynh_script_progression --message="Building NodeJS application (this is going to take a while...)"
|
ynh_script_progression --message="Building NodeJS application (this is going to take a while...)"
|
||||||
sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build
|
ynh_exec_warn_less sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_secure_remove --file="$final_path/live/js"
|
ynh_secure_remove --file="$final_path/live/js"
|
||||||
|
|
|
@ -101,7 +101,7 @@ chown -R $app:$app "$datadir"
|
||||||
ynh_script_progression --message="Reinstalling dependencies..."
|
ynh_script_progression --message="Reinstalling dependencies..."
|
||||||
|
|
||||||
# Define and install dependencies
|
# Define and install dependencies
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
||||||
|
|
||||||
|
|
|
@ -221,7 +221,7 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading dependencies..."
|
ynh_script_progression --message="Upgrading dependencies..."
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
||||||
|
|
||||||
|
@ -263,9 +263,9 @@ chown -R $app:$app "$datadir"
|
||||||
pushd $final_path/live/js
|
pushd $final_path/live/js
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_script_progression --message="Installing NodeJS dependencies (this is going to take a while...)"
|
ynh_script_progression --message="Installing NodeJS dependencies (this is going to take a while...)"
|
||||||
sudo -u $app env PATH=$PATH yarn install
|
ynh_exec_warn_less sudo -u $app env PATH=$PATH yarn install
|
||||||
ynh_script_progression --message="Building NodeJS application (this is going to take a while...)"
|
ynh_script_progression --message="Building NodeJS application (this is going to take a while...)"
|
||||||
sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build
|
ynh_exec_warn_less sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build
|
||||||
sudo -u $app env PATH=$PATH yarn cache clean --all
|
sudo -u $app env PATH=$PATH yarn cache clean --all
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue