1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

[fix] Do not add swap if in CI

This commit is contained in:
tituspijean 2022-08-05 11:08:38 +02:00
parent c4e0bc310b
commit 9ae6b06f5f
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
3 changed files with 3 additions and 3 deletions

View file

@ -126,7 +126,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#================================================= #=================================================
ynh_print_info --message="Adding swap..." ynh_print_info --message="Adding swap..."
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
ynh_add_swap --size=$swap_needed ynh_add_swap --size=$swap_needed
fi fi

View file

@ -105,7 +105,7 @@ ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./
#================================================= #=================================================
ynh_script_progression --message="Adding swap..." ynh_script_progression --message="Adding swap..."
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
ynh_add_swap --size=$swap_needed ynh_add_swap --size=$swap_needed
fi fi

View file

@ -168,7 +168,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#================================================= #=================================================
ynh_script_progression --message="Adding swap..." ynh_script_progression --message="Adding swap..."
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
ynh_add_swap --size=$swap_needed ynh_add_swap --size=$swap_needed
fi fi