1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00
This commit is contained in:
OniriCorpe 2023-09-05 17:05:06 +02:00
parent 0604554ba6
commit 8d030bdd79

View file

@ -186,7 +186,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
# detect_arch comes from _common.sh / personnal helpers # detect_arch comes from _common.sh / personnal helpers
architecture="$(detect_arch)" architecture="$(detect_arch)"
# compare is the system arch is different from the binary arch # compare if the system arch is different from the binary arch
# if so, download the correct binary # if so, download the correct binary
if [ "$architecture" != "$(file "$final_path"/gotosocial | cut -d ',' -f 2 | tr -d ' ')" ] if [ "$architecture" != "$(file "$final_path"/gotosocial | cut -d ',' -f 2 | tr -d ' ')" ]
then then