This commit is contained in:
Josué Tille 2017-04-26 18:22:10 +02:00
parent 8ac1e8dcf4
commit 929304f74c
2 changed files with 10 additions and 10 deletions

View file

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
seafile_version=6.0.8 seafile_version=6.0.9
## Adapt md5sum while you update app ## Adapt md5sum while you update app
x86_64sum="353de460ed8a08f176103e96f1384ff3" x86_64sum="8d1547c51feecaff757eb64381ce154c"
i386sum="9a4bc83576ec74b46a907ca081d4914d" i386sum="8a0b9e08d9c80790752b435c3e148328"
armsum="d7a0bd1d0a3948e1d3bc175e6d1ddca8" armsum="15ca4b69585a990e00474e4cfc4be9eb"
init_script() { init_script() {
# Exit on command errors and treat unset variables as an error # Exit on command errors and treat unset variables as an error
@ -33,7 +33,7 @@ set_configuration() {
} }
get_source() { get_source() {
if [[ $1 == 'arm' ]] if [[ $1 == 'rpi' ]]
then 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' 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 md5sum=$armsum

View file

@ -7,12 +7,12 @@
######## We implement manually this fonctions ######## We implement manually this fonctions
seafile_version=6.0.7 seafile_version=6.0.9
## Adapt md5sum while you update app ## Adapt md5sum while you update app
x86_64sum="4ca3c1fc93e5b786eb5d3509f4a3b01a" x86_64sum="8d1547c51feecaff757eb64381ce154c"
i386sum="743565be00189698318c8def0fbdaac0" i386sum="8a0b9e08d9c80790752b435c3e148328"
armsum="ee3ef5330a51498faf861594e0fe744a" armsum="15ca4b69585a990e00474e4cfc4be9eb"
init_script() { init_script() {
# Exit on command errors and treat unset variables as an error # Exit on command errors and treat unset variables as an error
@ -40,7 +40,7 @@ set_configuration() {
} }
get_source() { get_source() {
if [[ $1 == 'arm' ]] if [[ $1 == 'rpi' ]]
then 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' 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 md5sum=$armsum