#!/bin/bash

if [[ -z "${1+x}" ]];
then
    echo "Usage: $0 <repo-name>"
    exit 1
fi
readonly name="$1"
sudo apt update -o Dir::Etc::sourcelist="sources.list.d/${name}.list" \
    -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
