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

remove unnecessary arguments

This commit is contained in:
OniriCorpe 2023-10-23 17:07:44 +02:00
parent a8f8c23019
commit 5906751521

View file

@ -15,7 +15,7 @@ pkg_dependencies="postgresql postgresql-contrib"
# ($YNH_ARCH returns armhf for both...) # ($YNH_ARCH returns armhf for both...)
detect_arch(){ detect_arch(){
local architecture local architecture
if uname -m | grep -q -i -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="x86-64"