X-Git-Url: https://git.madduck.net/code/mbuild.git/blobdiff_plain/d954c6cf7388acdf2b79095de89b5a93f6e4f1cf..86244fc270ae41396fc57e3fd2b782a1cd47f900:/rc diff --git a/rc b/rc index 595d83d..713babc 100644 --- a/rc +++ b/rc @@ -19,13 +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" || : @@ -35,6 +40,7 @@ dinstall() { print_bundle_location() { local file; file="${1##*/}" echo "$BASE_URL/bundles/$file" + #TODO: files does not work echo "$files" }