mirror of
https://github.com/YunoHost-Apps/243-game_ynh.git
synced 2024-09-03 18:06:00 +02:00
remove is_public
This commit is contained in:
parent
bf19bdbb44
commit
2eb0dbe1b5
2 changed files with 1 additions and 10 deletions
|
@ -6,7 +6,7 @@
|
|||
"en": "2048 game clone",
|
||||
"fr": "Clone du jeu 2048"
|
||||
},
|
||||
"version": "1.0~ynh4",
|
||||
"version": "1.0~ynh5",
|
||||
"url": "https://github.com/hgentry/81/",
|
||||
"license": "MIT",
|
||||
"maintainer": {
|
||||
|
|
|
@ -30,15 +30,6 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
# Fix is_public as a boolean value
|
||||
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
|
||||
|
||||
# If final_path doesn't exist, create it
|
||||
if [ -z "$final_path" ]; then
|
||||
final_path=/var/www/$app
|
||||
|
|
Loading…
Add table
Reference in a new issue