mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Use prebuilt source for ARM
This commit is contained in:
parent
d30a09d0f9
commit
318181677f
2 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
SOURCE_URL=https://github.com/Josue-T/synapse_python_build/releases/download/matrix-synapse_0.24.1-bin1_armv7l.tar.gz
|
||||
SOURCE_SUM=f1a4941b4feba49111eaf5dc85cff986ec63a2628eaea4a6d5bfcfe3162d0943
|
||||
SOURCE_URL=https://github.com/Josue-T/synapse_python_build/releases/download/v0.24.1/matrix-synapse_0.24.1-bin1_armv7l.tar.gz
|
||||
SOURCE_SUM=20b6b3b195210aa778a017796a310b4327d8ecbd1b423214e83603aae319957c
|
||||
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
||||
# default: sha256
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
|
|
|
@ -19,10 +19,12 @@ setup_dir() {
|
|||
mkdir -p /var/log/matrix-synapse
|
||||
mkdir -p /etc/matrix-synapse/conf.d
|
||||
mkdir -p $final_path
|
||||
|
||||
# Install virtualenv
|
||||
virtualenv -p python2.7 $final_path
|
||||
}
|
||||
|
||||
install_source() {
|
||||
|
||||
if [ -n "$(uname -m | grep arm)" ]
|
||||
then
|
||||
ynh_setup_source $final_path/ "armv7"
|
||||
|
|
Loading…
Reference in a new issue