From 40f965959fa2fb397be89a28b3f0ff3683e8b688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 31 Jan 2023 18:34:00 +0100 Subject: [PATCH] Fix install/upgrade on ARM --- scripts/_common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index 00800e9..6f2ee35 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -15,6 +15,11 @@ install_source() { ynh_die --message "Error : this architecture is no longer supported by the upstream. Please create en issue here : https://github.com/YunoHost-Apps/seafile_ynh/issues to ask to discuss about a support of this architecture" fi ynh_setup_source "$final_path/seafile-server-$seafile_version" "$YNH_ARCH" + + # Drop some conflicting package cf: https://forum.seafile.com/t/seahub-fails-to-start-nameerror-name-mysql-is-not-defined/14566/3 + ynh_secure_remove --file=$final_path/seafile-server-$seafile_version/seahub/thirdpart/MySQLdb + ynh_secure_remove --file=$final_path/seafile-server-$seafile_version/seahub/thirdpart/cffi + ynh_secure_remove --file=$final_path/seafile-server-$seafile_version/seahub/thirdpart/PIL } install_source_7_0() {