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

fix arch detection (broken since arch custom helper has been removed)

This commit is contained in:
OniriCorpe 2024-06-14 23:59:12 +02:00
parent 29dcbd4041
commit a0bc521b01

View file

@ -69,7 +69,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
# compare if the system arch is different from the binary arch
# if so, download the correct binary
if [ "$architecture" != "$(file "$install_dir"/gotosocial | cut -d ',' -f 2 | tr -d ' ')" ]
if [ "$YNH_ARCH" != "$(file "$install_dir"/gotosocial | cut -d ',' -f 2 | tr -d ' ')" ]
then
ynh_script_progression --message="Migrating binary architecture..."