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:
parent
c4e0bc310b
commit
9ae6b06f5f
3 changed files with 3 additions and 3 deletions
|
@ -126,7 +126,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
#=================================================
|
||||
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
|
||||
fi
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./
|
|||
#=================================================
|
||||
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
|
||||
fi
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
#=================================================
|
||||
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
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue