From 16e147b7efff5dccb259843341d9d2d3d2dbc81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 28 May 2024 11:59:59 +0200 Subject: [PATCH 1/4] Update manifest.toml --- manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index e3e1a6f..a086c3d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ 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." -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] From d4639a6e49d792c6e829eb210e00b00f52593fb5 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 28 May 2024 10:00:05 +0000 Subject: [PATCH 2/4] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) 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 **演示:** ## 文档与资源 From 75c91c81eb813f5f6aae6ec196423b489eef240a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 28 May 2024 12:16:49 +0200 Subject: [PATCH 3/4] Update manifest.toml --- manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index a086c3d..4fb11cf 100644 --- a/manifest.toml +++ b/manifest.toml @@ -4,8 +4,8 @@ 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~ynh2" From 34eb1eebf9833608f1203966eb4712d1d018de1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 28 May 2024 12:17:47 +0200 Subject: [PATCH 4/4] Update upgrade --- scripts/upgrade | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) 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"