mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
small refactor
This commit is contained in:
parent
83430c1478
commit
487a5856f1
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ pkg_dependencies="postgresql postgresql-contrib"
|
|||
# ($YNH_ARCH returns armhf for both...)
|
||||
detect_arch(){
|
||||
local architecture
|
||||
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then
|
||||
if [ -n "$(uname -m | grep [arm64,aarch64]; then
|
||||
architecture="arm64"
|
||||
elif [ -n "$(uname -m | grep 64)" ]; then
|
||||
architecture="x86-64"
|
||||
|
|
Loading…
Add table
Reference in a new issue