diff --git a/conf/armv7.src b/conf/armv7.src index 22e0a90..5e3feda 100644 --- a/conf/armv7.src +++ b/conf/armv7.src @@ -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 diff --git a/scripts/_common.sh b/scripts/_common.sh index 629da31..d8496af 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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"