Update Source

Solve Issue https://github.com/YunoHost-Apps/seafile_ynh/issues/28
This commit is contained in:
Josue-T 2017-07-01 11:57:40 +02:00 committed by GitHub
parent 15381618c9
commit 8bf60f706d

View file

@ -39,10 +39,10 @@ get_source() {
md5sum=$armsum
elif [[ $1 == 'x86-64' ]]
then
wget -q -O '/tmp/seafile_src.tar.gz' 'https://bintray.com/artifact/download/seafile-org/seafile/seafile-server_'$2'_x86-64.tar.gz'
wget -q -O '/tmp/seafile_src.tar.gz' 'https://download.seadrive.org/seafile-server_'$2'_x86-64.tar.gz'
md5sum=$x86_64sum
else
wget -q -O '/tmp/seafile_src.tar.gz' 'https://bintray.com/artifact/download/seafile-org/seafile/seafile-server_'$2'_i386.tar.gz'
wget -q -O '/tmp/seafile_src.tar.gz' 'https://download.seadrive.org/seafile-server_'$2'_i386.tar.gz'
md5sum=$i386sum
fi