diff --git a/README.md b/README.md
index f10e0ee..9d5286f 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ It shall NOT be edited by hand.
Digitranscode is a simple application to convert audio and video files thanks to FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
-**Shipped version:** 0.2.0~ynh1
+**Shipped version:** 0.2.0~ynh2
**Demo:**
## Documentation and resources
diff --git a/README_es.md b/README_es.md
index 39adaaa..6ecc970 100644
--- a/README_es.md
+++ b/README_es.md
@@ -19,7 +19,7 @@ No se debe editar a mano.
Digitranscode is a simple application to convert audio and video files thanks to FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
-**Versión actual:** 0.2.0~ynh1
+**Versión actual:** 0.2.0~ynh2
**Demo:**
## Documentaciones y recursos
diff --git a/README_eu.md b/README_eu.md
index f22c2f5..74dbc05 100644
--- a/README_eu.md
+++ b/README_eu.md
@@ -19,7 +19,7 @@ EZ editatu eskuz.
Digitranscode is a simple application to convert audio and video files thanks to FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
-**Paketatutako bertsioa:** 0.2.0~ynh1
+**Paketatutako bertsioa:** 0.2.0~ynh2
**Demoa:**
## Dokumentazioa eta baliabideak
diff --git a/README_fr.md b/README_fr.md
index d745187..0e27800 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
Digitranscode est une application simple pour convertir des fichiers audio et des vidéos grâce à FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
-**Version incluse :** 0.2.0~ynh1
+**Version incluse :** 0.2.0~ynh2
**Démo :**
## Documentations et ressources
diff --git a/README_gl.md b/README_gl.md
index d9d0b98..6c14798 100644
--- a/README_gl.md
+++ b/README_gl.md
@@ -19,7 +19,7 @@ NON debe editarse manualmente.
Digitranscode is a simple application to convert audio and video files thanks to FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
-**Versión proporcionada:** 0.2.0~ynh1
+**Versión proporcionada:** 0.2.0~ynh2
**Demo:**
## Documentación e recursos
diff --git a/README_zh_Hans.md b/README_zh_Hans.md
index 4c4292d..3e7b367 100644
--- a/README_zh_Hans.md
+++ b/README_zh_Hans.md
@@ -19,7 +19,7 @@
Digitranscode is a simple application to convert audio and video files thanks to FFMPEG.wasm - https://github.com/ffmpegwasm/ffmpeg.wasm (MIT License).
-**分发版本:** 0.2.0~ynh1
+**分发版本:** 0.2.0~ynh2
**演示:**
## 文档与资源
diff --git a/manifest.toml b/manifest.toml
index e3e1a6f..4fb11cf 100644
--- a/manifest.toml
+++ b/manifest.toml
@@ -4,10 +4,10 @@ packaging_format = 2
id = "digitranscode"
name = "Digitranscode"
-description.en = "an online app that can convert audio files and video files into different formats."
-description.fr = "Une application en ligne qui permet de convertir des fichiers audio et des vidéos en différents formats."
+description.en = "Online converter of audio files and videos into different formats"
+description.fr = "Convertisseur en ligne de fichiers audio et vidéos en différents formats"
-version = "0.2.0~ynh1"
+version = "0.2.0~ynh2"
maintainers = ["Pierre-Amiel Giraud"]
@@ -48,7 +48,7 @@ ram.runtime = "5M"
[resources]
[resources.sources.main]
url = "https://codeberg.org/ladigitale/digitranscode/archive/0.2.0.tar.gz"
- sha256 = "d9cae0a3c9bf121f831527bc93c9f3689901e47d563ef6927f1b0f418f6a1957"
+ sha256 = "fa774e15cbad792f5a2fd207cd7f501613b7e9e8b19a30a5bf5386a7ad6a1488"
autoupdate.strategy = "latest_forgejo_release"
[resources.system_user]
diff --git a/scripts/upgrade b/scripts/upgrade
index def4997..b660481 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -9,12 +9,6 @@
source _common.sh
source /usr/share/yunohost/helpers
-#=================================================
-# CHECK VERSION
-#=================================================
-
-upgrade_type=$(ynh_check_app_version_changed)
-
#=================================================
# STANDARD UPGRADE STEPS
#=================================================
@@ -25,13 +19,9 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
+ynh_script_progression --message="Upgrading source files..." --weight=1
-if [ "$upgrade_type" == "UPGRADE_APP" ]
-then
- ynh_script_progression --message="Upgrading source files..." --weight=1
-
- ynh_setup_source --dest_dir="$install_dir"
-fi
+ynh_setup_source --dest_dir="$install_dir" --full_replace=1
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"