1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tiddlywiki_ynh.git synced 2024-09-03 20:26:34 +02:00

cleaning up

This commit is contained in:
ericgaspar 2021-03-15 10:40:41 +01:00
parent 4d8df44a4f
commit be4fde34fa
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 7 additions and 2 deletions

View file

@ -8,8 +8,6 @@
source /usr/share/yunohost/helpers
ynh_abort_if_errors
#=================================================
# RETRIEVE ARGUMENTS
#=================================================

View file

@ -43,6 +43,13 @@ if [ -z "$language" ]; then
ynh_app_setting_set --app=$app --key=language --value=$language
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
#=================================================