1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simple-torrent_ynh.git synced 2024-09-03 20:26:18 +02:00
This commit is contained in:
ericgaspar 2022-01-19 16:02:26 +01:00
parent ab73b3ab82
commit 14f3752823
2 changed files with 1 additions and 10 deletions

View file

@ -1,7 +0,0 @@
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.3.9/cloud-torrent_linux_386_static.gz
SOURCE_SUM=583898eb907c21dbbcb6f33934eae3dc1d6ec2620fdc7689c70a3479049af52b
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=gz
SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=simple-torrent
SOURCE_EXTRACT=false

View file

@ -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