From 2dfe5ab33aea5e146a95f9d0bcc2bc299b2d4f9e Mon Sep 17 00:00:00 2001 From: Josue-T Date: Wed, 26 Apr 2017 18:26:01 +0200 Subject: [PATCH] Update to seafile 6.0.9 and fix issue https://github.com/YunoHost-Apps/seafile_ynh/issues/24 (#25) * Fix error with package check * Update check_process * Update to seafile 6.0.9 and fix issue https://github.com/YunoHost-Apps/seafile_ynh/issues/24 --- scripts/_common.sh | 10 +++++----- scripts/restore | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 0e1e07c..e38945a 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -1,11 +1,11 @@ #!/bin/bash -seafile_version=6.0.8 +seafile_version=6.0.9 ## Adapt md5sum while you update app -x86_64sum="353de460ed8a08f176103e96f1384ff3" -i386sum="9a4bc83576ec74b46a907ca081d4914d" -armsum="d7a0bd1d0a3948e1d3bc175e6d1ddca8" +x86_64sum="8d1547c51feecaff757eb64381ce154c" +i386sum="8a0b9e08d9c80790752b435c3e148328" +armsum="15ca4b69585a990e00474e4cfc4be9eb" init_script() { # Exit on command errors and treat unset variables as an error @@ -33,7 +33,7 @@ set_configuration() { } get_source() { - if [[ $1 == 'arm' ]] + if [[ $1 == 'rpi' ]] then wget -q -O '/tmp/seafile_src.tar.gz' 'https://github.com/haiwen/seafile-rpi/releases/download/v'$2'/seafile-server_'$2'_stable_pi.tar.gz' md5sum=$armsum diff --git a/scripts/restore b/scripts/restore index df56646..41e1441 100644 --- a/scripts/restore +++ b/scripts/restore @@ -7,12 +7,12 @@ ######## We implement manually this fonctions -seafile_version=6.0.7 +seafile_version=6.0.9 ## Adapt md5sum while you update app -x86_64sum="4ca3c1fc93e5b786eb5d3509f4a3b01a" -i386sum="743565be00189698318c8def0fbdaac0" -armsum="ee3ef5330a51498faf861594e0fe744a" +x86_64sum="8d1547c51feecaff757eb64381ce154c" +i386sum="8a0b9e08d9c80790752b435c3e148328" +armsum="15ca4b69585a990e00474e4cfc4be9eb" init_script() { # Exit on command errors and treat unset variables as an error @@ -40,7 +40,7 @@ set_configuration() { } get_source() { - if [[ $1 == 'arm' ]] + if [[ $1 == 'rpi' ]] then wget -q -O '/tmp/seafile_src.tar.gz' 'https://github.com/haiwen/seafile-rpi/releases/download/v'$2'/seafile-server_'$2'_stable_pi.tar.gz' md5sum=$armsum