1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00

Cleaning up

This commit is contained in:
ericgaspar 2021-03-15 10:25:32 +01:00
parent 1d66afe303
commit 13f00148cb
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 15 additions and 3 deletions

View file

@ -28,7 +28,7 @@ You can configure Invidious by modifying the configuration file `/var/www/invidi
## Documentation
* Official documentation: https://github.com/iv-org/documentation
* YunoHost documentation: https://yunohost.org/#/app_invidious
* YunoHost documentation: https://yunohost.org/en/app_invidious
## YunoHost specific features

View file

@ -28,7 +28,7 @@ Vous pouvez configurer Invidious en modifiant le fichier de configuration `/var/
## Documentation
* Documentation officielle : https://github.com/iv-org/documentation
* Documentation YunoHost : https://yunohost.org/#/app_invidious_fr
* Documentation YunoHost : https://yunohost.org/fr/app_invidious
## Caractéristiques spécifiques YunoHost

View file

@ -6,7 +6,7 @@
"en": "Alternative front-end to YouTube",
"fr": "Front-end alternatif à YouTube"
},
"version": "0.20.1~ynh6",
"version": "0.20.1~ynh7",
"url": "https://invidio.us/",
"license": "GPL-3.0-only",
"maintainer": {

View file

@ -32,6 +32,18 @@ ynh_script_progression --message="Checking version..."
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
# 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
#=================================================