1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

[enh] Include arm binaries

Should fix #14
This commit is contained in:
-h 2019-05-25 16:52:06 +01:00
parent c0c3017e2b
commit fdb156f320
2 changed files with 10 additions and 0 deletions

6
conf/arm.src Normal file
View file

@ -0,0 +1,6 @@
SOURCE_URL=https://github.com/syncthing/syncthing/releases/download/v1.1.3/syncthing-linux-arm-v1.1.3.tar.gz
SOURCE_SUM=3589C9F308973B7D7600FD4BBA69652DFA0F752A28D05280940537E8242C8CE3
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=

View file

@ -75,7 +75,11 @@ ynh_print_info --message="Setting up source files..."
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src
if [ -n "$(uname -m | grep arm)" ] ; then
ynh_setup_source --dest_dir="$final_path" --source_id="arm"
else
ynh_setup_source --dest_dir="$final_path"
fi
#=================================================
# NGINX CONFIGURATION