1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tiki_ynh.git synced 2024-09-04 01:15:54 +02:00

[FIX] Don't fail when new variable is unset

This commit is contained in:
Jyhem 2023-06-23 17:16:08 +02:00
parent 8c491786b0
commit 2c9111ed35

View file

@ -38,6 +38,12 @@ if [ -z "${fpm_usage:-}" ]; then
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
fi
# If release_cycle doesn't exist, create it
if [ -z "${release_cycle:-}" ]; then
release_cycle=longterm
ynh_app_setting_set --app=$app --key=release_cycle --value=$release_cycle
fi
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================