1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/drupal_ynh.git synced 2024-09-03 18:35:53 +02:00

no ynh_add_swap during PACKAGE_CHECK

This commit is contained in:
yalh76 2022-09-23 01:10:58 +02:00
parent 6e0febfd25
commit 321c9f8abe
3 changed files with 9 additions and 3 deletions

View file

@ -124,7 +124,9 @@ ynh_add_nginx_config
#================================================= #=================================================
ynh_script_progression --message="Adding swap..." --weight=1 ynh_script_progression --message="Adding swap..." --weight=1
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
ynh_add_swap --size=$swap_needed ynh_add_swap --size=$swap_needed
fi
#================================================= #=================================================
# CREATE DRUSH ALIAS # CREATE DRUSH ALIAS

View file

@ -109,7 +109,9 @@ ynh_restore_file --origin_path="/etc/cron.d/$app"
#================================================= #=================================================
ynh_script_progression --message="Adding swap..." --weight=1 ynh_script_progression --message="Adding swap..." --weight=1
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
ynh_add_swap --size=$swap_needed ynh_add_swap --size=$swap_needed
fi
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -116,7 +116,9 @@ ynh_add_nginx_config
#================================================= #=================================================
ynh_script_progression --message="Adding swap..." --weight=1 ynh_script_progression --message="Adding swap..." --weight=1
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
ynh_add_swap --size=$swap_needed ynh_add_swap --size=$swap_needed
fi
#================================================= #=================================================
# UPGRADE COMPOSER # UPGRADE COMPOSER