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:
parent
8c491786b0
commit
2c9111ed35
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue