X-Git-Url: https://git.madduck.net/code/mbuild.git/blobdiff_plain/674923e47fbeeedc74084c3774e8c6ef374dff5f..2d9afe6d90dae9865f2bcb2a514d316cb98b28f3:/rc?ds=sidebyside diff --git a/rc b/rc index 78a4746..713babc 100644 --- a/rc +++ b/rc @@ -19,15 +19,18 @@ print_repo_paths() { dinstall() { local dist case "$1" in - stable) dist=etch;; - testing) dist=lenny;; + stable*) dist=lenny;; + testing*) dist=squeeze;; unstable) dist=sid;; + madduck) dist=madduck;; experimental|*-backports) dist="$1";; *) echo E: unknown distribution: "$1" >&2; exit 1;; esac copy_back_files "$@" + return 0 + GNUPGHOME="$REPREPRO_DIR"/.gnupg \ reprepro --basedir "$REPREPRO_DIR" include "$dist" "$2" || :