mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
Update upgrade
This commit is contained in:
parent
7d701f855f
commit
aeda71695c
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ ynh_clean_setup () {
|
|||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
# If secret_key doesn't exist, create it
|
||||
if [[ -z "$secret_key" ]]; then
|
||||
if [[ -z "${secret_key:-}" ]]; then
|
||||
secret_key=$(ynh_string_random --length=50)
|
||||
ynh_app_setting_set --app=$app --key=secret_key --value=$secret_key
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue