# -*- bash -*- t-reprepro () { t_archive_method=reprepro t-reprepro-cfg } t-reprepro-cfg () { local etcapt=$tmp/etc-apt local mir=$tmp/mirror t-git-config dgit-distro.test-dummy.archive-query aptget: t-git-config dgit-distro.test-dummy.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 <