1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/workout-tracker_ynh.git synced 2024-09-03 20:36:03 +02:00

fix boolean

This commit is contained in:
Thomas 2024-04-12 08:04:23 +02:00 committed by GitHub
parent e9a5e2fb34
commit 6930f3b18b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,6 +12,13 @@ source /usr/share/yunohost/helpers
jwt_key=$(ynh_string_random --length=45 | base64) jwt_key=$(ynh_string_random --length=45 | base64)
ynh_app_setting_set --app=$app --key=jwt_key --value=$jwt_key ynh_app_setting_set --app=$app --key=jwt_key --value=$jwt_key
if [ $registration == "0" ]; then
registration="false"
else
registration="true"
fi
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================