#!/bin/bash # # provisioning script for vagrant boxes for testing the matrix-synapse debs. # # Will install the most recent matrix-synapse-py3 deb for this platform from # the /debs directory. set -e apt-get update apt-get install -y lsb-release deb=$(find /debs -name "matrix-synapse-py3_*+$(lsb_release -cs)*.deb" | sort | tail -n1) debconf-set-selections <> /etc/matrix-synapse/homeserver.yaml systemctl restart matrix-synapse