#!/bin/bash

DOMAIN="debian.qvantum-test.com"
REPO="qvantum"

curl -sS "https://$DOMAIN/dev-key.asc" | gpg --dearmor --yes -o "/etc/apt/trusted.gpg.d/${REPO}_dev.gpg"

echo "deb https://$DOMAIN $(lsb_release -sc)_dev dev" > "/etc/apt/sources.list.d/$REPO.list"

apt update
apt-get install -y qvantum-b2b

