1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kavita_ynh.git synced 2024-09-03 19:26:30 +02:00

fic: "line 29: final_path: unbound variable"

This commit is contained in:
OniriCorpe 2023-09-29 21:13:26 +02:00
parent 0b30129d52
commit 64df1dbe0b

View file

@ -26,7 +26,7 @@ chown -R "$app":www-data "$install_dir"
# compare if the system arch is different from the binary arch
# if so, download the correct binary
if [ "$(uname -m)" != "$(file "$final_path"/Kavita | cut -d ',' -f 2 | tr -d ' ')" ]
if [ "$(uname -m)" != "$(file "$install_dir"/Kavita | cut -d ',' -f 2 | tr -d ' ')" ]
then
ynh_script_progression --message="Migrating binary architecture..." --weight=1