#!/bin/bash

. ${TOOLKIT}-functions.sh

# this must be done early, or packages install will fails
# note that veeam.list is still present in "install" file, so it will
# be updated if needed, or removed if kusa-autoremove is used
#
[ -f /etc/apt/sources.list.d/veeam.list ] || {

	installfile veeam.list /etc/apt/sources.list.d/ root:root 664

	# get / updates veeam pgp key
	curl https://repository.veeam.com/keys/veeam.gpg | apt-key add

	update_repos
}

exit 0
