From d538b0f9033eefccb065a0cbf68a4012dad17301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 31 Jul 2018 17:46:42 +0200 Subject: [PATCH] Remove support for i386 arch --- conf/i386.src | 11 ----------- scripts/_common.sh | 4 ++++ sources/patches/i386-sso_auth.patch | 1 - 3 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 conf/i386.src delete mode 120000 sources/patches/i386-sso_auth.patch diff --git a/conf/i386.src b/conf/i386.src deleted file mode 100644 index 1f99df2..0000000 --- a/conf/i386.src +++ /dev/null @@ -1,11 +0,0 @@ -SOURCE_URL=https://download.seadrive.org/seafile-server_6.2.5_i386.tar.gz -SOURCE_SUM=a32cddaceae7bd0efa4cd8730c65ca2eee5c93a4e849c70b74a59f7300c80f08 -# (Optional) Program to check the integrity (sha256sum, md5sum...) -# default: sha256 -SOURCE_SUM_PRG=sha256sum -# (Optional) Archive format -# default: tar.gz -SOURCE_FORMAT=tar.gz -# (Optional) Put false if sources are directly in the archive root -# default: true -SOURCE_IN_SUBDIR=true diff --git a/scripts/_common.sh b/scripts/_common.sh index 7bd3665..79f001e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -50,6 +50,10 @@ config_nginx() { install_source() { mkdir "$final_path/seafile-server-$seafile_version" + if [[ $architecture == "i386" ]] + then + ynh_die "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" "$architecture" } diff --git a/sources/patches/i386-sso_auth.patch b/sources/patches/i386-sso_auth.patch deleted file mode 120000 index 7546b84..0000000 --- a/sources/patches/i386-sso_auth.patch +++ /dev/null @@ -1 +0,0 @@ -x86-64-sso_auth.patch \ No newline at end of file