1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lutim_ynh.git synced 2024-09-03 19:36:24 +02:00

Kill legacy setting_set on is_public

This commit is contained in:
Alexandre Aubin 2022-08-16 23:25:14 +02:00 committed by GitHub
parent ca162f25f3
commit 2e8e77996a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,15 +76,6 @@ ynh_systemd_action --service_name=$app --action="stop"
#================================================= #=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=2 ynh_script_progression --message="Ensuring downward compatibility..." --weight=2
# Fix is_public as a boolean
if [ "$is_public" = "Yes" ]; then
ynh_app_setting_set --app=$app --key=is_public --value=1
is_public=1
elif [ "$is_public" = "No" ]; then
ynh_app_setting_set --app=$app --key=is_public --value=0
is_public=0
fi
skipped_uris=$(ynh_app_setting_get --app=$app --key=skipped_uris) skipped_uris=$(ynh_app_setting_get --app=$app --key=skipped_uris)
# Unused with the permission system # Unused with the permission system