1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simple-torrent_ynh.git synced 2024-09-03 20:26:18 +02:00
* Upgrade to version 1.2.18
This commit is contained in:
Éric Gaspar 2021-04-15 09:02:52 +02:00 committed by GitHub
parent d61bd858e2
commit fafc11b888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 34 additions and 14 deletions

View file

@ -12,7 +12,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
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.17
**Shipped version:** 1.2.18
## Screenshots
@ -38,8 +38,12 @@ You can also configure Simple Torrent by editing this file `/var/www/simple-torr
#### Supported architectures
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/simple-torrent%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/simple-torrent/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/simple-torrent%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/simple-torrent/)
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/simple-torrent.svg)](https://ci-apps.yunohost.org/ci/apps/simple-torrent/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/simple-torrent.svg)](https://ci-apps-arm.yunohost.org/ci/apps/simple-torrent/)
## Limitations
* Sorry, this app cannot be installed on a 32-bit ARM machine.
## Links

View file

@ -12,7 +12,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
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.17
**Version incluse :** 1.2.18
## Captures d'écran
@ -38,8 +38,12 @@ Vous pouvez configurer Simple Torrent en modifiant le fichier `/var/www/simple-t
#### Architectures supportées
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/simple-torrent%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/simple-torrent/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/simple-torrent%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/simple-torrent/)
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/simple-torrent.svg)](https://ci-apps.yunohost.org/ci/apps/simple-torrent/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/simple-torrent.svg)](https://ci-apps-arm.yunohost.org/ci/apps/simple-torrent/)
## Limitations
* Désolé, cette application ne peut pas être installée sur une machine ARM 32 bits.
## Liens

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.17/cloud-torrent_linux_arm64.gz
SOURCE_SUM=6e4f10b77049d2758f639003323f2ddc1455a8bdc1c253048256aa85d5cf49bf
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.18/cloud-torrent_linux_arm64.gz
SOURCE_SUM=ed93f6a878fafec0a3ff7110a80517bf81682aa66e085a7f99b9898661ac84f1
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=gz
SOURCE_IN_SUBDIR=false

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.17/cloud-torrent_linux_386.gz
SOURCE_SUM=9725affd9f98e0feb0612969e387137e62dbac2d23fd669e9f8656d3715f09dd
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.18/cloud-torrent_linux_386.gz
SOURCE_SUM=313387bb4a424714d74dccfba834325d9d9c18b8a86ed81313f974cf46898ff4
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=gz
SOURCE_IN_SUBDIR=false

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.17/cloud-torrent_linux_amd64.gz
SOURCE_SUM=5581a2e52fd083fdabe389761383417ab039ddab671de33571ed47ba560a97ff
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.18/cloud-torrent_linux_amd64.gz
SOURCE_SUM=3240338063385ddaa38e1a6d0a3457605b4b3d2ad830c09a955823a859922f4f
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=gz
SOURCE_IN_SUBDIR=false

View file

@ -6,7 +6,7 @@
"en": "Self-hosted remote torrent client",
"fr": "Client torrent distant auto-hébergé"
},
"version": "1.2.17~ynh1",
"version": "1.2.18~ynh1",
"url": "https://github.com/boypt/simple-torrent",
"license": "AGPL-3.0-only",
"maintainer": {

View file

@ -32,6 +32,12 @@ app=$YNH_APP_INSTANCE_NAME
#=================================================
ynh_script_progression --message="Validating installation parameters..." --weight=1
# Check machine architecture (in particular, we don't support ARM 32bit machines)
if [ $architecture == "unknown" ]
then
ynh_die --message="Sorry, this app cannot be installed on a 32-bit ARM machine."
fi
final_path=/var/www/$app
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"

View file

@ -35,6 +35,12 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
# Check machine architecture (in particular, we don't support ARM 32bit machines)
if [ $architecture == "unknown" ]
then
ynh_die --message="Sorry, this app cannot be installed on a 32-bit ARM machine."
fi
# Cleaning legacy permissions
if ynh_legacy_permissions_exists; then
ynh_legacy_permissions_delete_all