# -*- bash -*- t-reprepro () { t_archive_method=reprepro t-reprepro-cfg } t-reprepro-cfg () { local rrinst=$1 local rrdistro=${2:-test-dummy} local etcapt=$tmp/${rrinst}etc-apt local mir=$tmp/${rrinst}mirror t-git-config dgit-distro.$rrdistro.archive-query aptget: t-git-config dgit-distro.$rrdistro.mirror file://$mir/ mkdir $etcapt cat >$etcapt/conf <han.pgp fakeroot apt-key add $rrc/distributions local arch; arch=`dpkg --print-architecture` for suitespec in $suitespecs; do local suite=${suitespec%%:*} local sname=${suitespec#*:} mkdir -p $mir/dists if [ $sname != $suite ]; then rm -f $mir/dists/$sname ln -s $suite $mir/dists/$sname fi cat >&3 <