From 19585e8db92e19c2e4e67a0e0e7aaa9d3bc8ed25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 6 May 2021 17:20:10 +0200 Subject: [PATCH] Upgrade to version 1.2.22 (#36) * Upgrade to version 1.2.22 --- README.md | 4 ++-- README_fr.md | 4 ++-- conf/arm64.src | 4 ++-- conf/i386.src | 7 ------- conf/x86_64.src | 4 ++-- manifest.json | 2 +- scripts/_common.sh | 4 +--- 7 files changed, 10 insertions(+), 19 deletions(-) delete mode 100644 conf/i386.src diff --git a/README.md b/README.md index 5725a9f..22534bb 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ *[Lire ce readme en français.](./README_fr.md)* > *This package allows you to install Simple Torrent quickly and simply on a YunoHost server. -If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* +If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* ## Overview Simple Torrent is a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP. -**Shipped version:** 1.2.21 +**Shipped version:** 1.2.22 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 2cfc840..c7bddb3 100644 --- a/README_fr.md +++ b/README_fr.md @@ -6,13 +6,13 @@ *[Read this readme in english.](./README.md)* > *Ce package vous permet d'installer Simple Torrent rapidement et simplement sur un serveur YunoHost. -Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.* +Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) pour apprendre comment l'installer.* ## Vue d'ensemble Simple Torrent est un client torrent distant auto-hébergé, écrit en Go (golang). Démarrez des torrents à distance, téléchargez des ensembles de fichiers sur le disque local du serveur, qui sont ensuite récupérables ou diffusables via HTTP. -**Version incluse :** 1.2.21 +**Version incluse :** 1.2.22 ## Captures d'écran diff --git a/conf/arm64.src b/conf/arm64.src index 968cac3..7570884 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.21/cloud-torrent_linux_arm64.gz -SOURCE_SUM=a432b2933d4266c66b11cae4cb0d43b3a5075e740365978d5a4e3fe91834b563 +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.22/cloud-torrent_linux_arm64_static.gz +SOURCE_SUM=27e5a408a6efc25a672b5b03f3522268d29b5181ab4880b393b4ae904bec73a3 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/i386.src b/conf/i386.src deleted file mode 100644 index 28ac635..0000000 --- a/conf/i386.src +++ /dev/null @@ -1,7 +0,0 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.21/cloud-torrent_linux_386.gz -SOURCE_SUM=9dca24b1fedfffa37cca4207c4eb7611a54ebf1847ec088e054933a710f64da3 -SOURCE_SUM_PRG=sha256sum -SOURCE_FORMAT=gz -SOURCE_IN_SUBDIR=false -SOURCE_FILENAME= -SOURCE_EXTRACT=false \ No newline at end of file diff --git a/conf/x86_64.src b/conf/x86_64.src index 348154f..3829f2a 100644 --- a/conf/x86_64.src +++ b/conf/x86_64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.21/cloud-torrent_linux_amd64.gz -SOURCE_SUM=597f20dec30bc814dec65fdccf74be964ce48cf50d6bf466f1efba798b9de4bc +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.22/cloud-torrent_linux_amd64_static.gz +SOURCE_SUM=8bc0bc3fe2a1e0d3c284dca868fe869588fece96562ef67f361fa6e53382b6b6 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/manifest.json b/manifest.json index 6d7026b..54c659d 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self-hosted remote torrent client", "fr": "Client torrent distant auto-hébergé" }, - "version": "1.2.21~ynh1", + "version": "1.2.22~ynh1", "url": "https://github.com/boypt/simple-torrent", "license": "AGPL-3.0-only", "maintainer": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 3424326..318d9dd 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -26,9 +26,7 @@ ynh_detect_arch() { local architecture if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then - architecture="arm64" - elif [ -n "$(uname -m | grep 86)" ]; then - architecture="i386" + architecture="arm64" elif [ -n "$(uname -m | grep 64)" ]; then architecture="x86_64" else