mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Cleanup
This commit is contained in:
parent
eb0b904011
commit
8f16c2abad
1 changed files with 1 additions and 5 deletions
|
@ -82,9 +82,5 @@ clean_url_in_db_config() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ensure_vars_set() {
|
ensure_vars_set() {
|
||||||
# FIXMEhelpers2.1: maybe replace with: ynh_app_setting_set_default --key=jwt_private_key_notification_server --value=$(ynh_string_random -l 32)
|
ynh_app_setting_set_default --key=jwt_private_key_notification_server --value=$(ynh_string_random -l 32)
|
||||||
if [ -z "${jwt_private_key_notification_server:-}" ]; then
|
|
||||||
jwt_private_key_notification_server=$(ynh_string_random -l 32)
|
|
||||||
ynh_app_setting_set --key=jwt_private_key_notification_server --value="$jwt_private_key_notification_server"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue