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:
parent
1d66afe303
commit
13f00148cb
4 changed files with 15 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue