1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

fix armv7 and amd64

This commit is contained in:
OniriCorpe 2024-01-08 18:11:15 +01:00
parent 74b4b04031
commit f333afece1
2 changed files with 4 additions and 4 deletions

View file

@ -84,14 +84,14 @@ armv6.url = "https://github.com/superseriousbusiness/gotosocial/releases/downloa
armv6.sha256 = "207aed157dd418d6a4a7e4cff74de0724e08b0be24cf7208122988a2d9da44cc" armv6.sha256 = "207aed157dd418d6a4a7e4cff74de0724e08b0be24cf7208122988a2d9da44cc"
arm64.url = "https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_arm64.tar.gz" arm64.url = "https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_arm64.tar.gz"
arm64.sha256 = "671d66a6c7cd6b96b7499bf3e6419a1c4cc9278ff532191c0bcecc025fd4a0db" arm64.sha256 = "671d66a6c7cd6b96b7499bf3e6419a1c4cc9278ff532191c0bcecc025fd4a0db"
armhf.url = "https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_armv7.tar.gz" armv7.url = "https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_armv7.tar.gz"
armhf.sha256 = "54117d643829ec0c3a8e47d036d2485747d301299964dd33178308e560e1b265" armv7.sha256 = "54117d643829ec0c3a8e47d036d2485747d301299964dd33178308e560e1b265"
autoupdate.asset.i386 = "^gotosocial_.*_linux_386.tar.gz$" autoupdate.asset.i386 = "^gotosocial_.*_linux_386.tar.gz$"
autoupdate.asset.amd64 = "^gotosocial_.*_linux_amd64.tar.gz$" autoupdate.asset.amd64 = "^gotosocial_.*_linux_amd64.tar.gz$"
autoupdate.asset.armv6 = "^gotosocial_.*_linux_armv6.tar.gz$" autoupdate.asset.armv6 = "^gotosocial_.*_linux_armv6.tar.gz$"
autoupdate.asset.arm64 = "^gotosocial_.*_linux_arm64.tar.gz$" autoupdate.asset.arm64 = "^gotosocial_.*_linux_arm64.tar.gz$"
autoupdate.asset.armhf = "^gotosocial_.*_linux_armv7.tar.gz$" autoupdate.asset.armv7 = "^gotosocial_.*_linux_armv7.tar.gz$"
autoupdate.strategy = "latest_github_release" autoupdate.strategy = "latest_github_release"
[resources.system_user] [resources.system_user]

View file

@ -18,7 +18,7 @@ detect_arch(){
if uname -m | grep -q -E "arm64|aarch64" ; then if uname -m | grep -q -E "arm64|aarch64" ; then
architecture="arm64" architecture="arm64"
elif uname -m | grep -q "64" ; then elif uname -m | grep -q "64" ; then
architecture="x86-64" architecture="amd64"
elif uname -m | grep -q "86" ; then elif uname -m | grep -q "86" ; then
architecture="i386" architecture="i386"
elif uname -m | grep -q "armv6" ; then elif uname -m | grep -q "armv6" ; then