mirror of
https://github.com/YunoHost-Apps/nullboard_ynh.git
synced 2024-09-03 19:46:08 +02:00
Cleaning up
This commit is contained in:
parent
41da7cd188
commit
d82f262fe9
3 changed files with 10 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
"en": "Minimalist kanban board, focused on compactness and readability",
|
||||
"fr": "Kanban minimaliste, axé sur la compacité et la lisibilité"
|
||||
},
|
||||
"version": "1.0~ynh1",
|
||||
"version": "1.0~ynh2",
|
||||
"url": "https://nullboard.io/preview",
|
||||
"license": "BSD-2-Clause",
|
||||
"maintainer": {
|
||||
|
|
|
@ -42,8 +42,8 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
|
|||
#=================================================
|
||||
ynh_script_progression --message="Storing installation settings..." --weight=2
|
||||
|
||||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
|
|
|
@ -36,6 +36,13 @@ if [ -z "$final_path" ]; then
|
|||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
fi
|
||||
|
||||
# Cleaning legacy permissions
|
||||
if ynh_legacy_permissions_exists; then
|
||||
ynh_legacy_permissions_delete_all
|
||||
|
||||
ynh_app_setting_delete --app=$app --key=is_public
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue