From: Sage Weil Date: Mon, 12 Mar 2012 16:04:32 +0000 (-0700) Subject: update_pbuilder: oneiric, precise, wheezy X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f01f513674224d679aa609f7ae7c8f956ed5d6b4;p=ceph-build.git update_pbuilder: oneiric, precise, wheezy --- diff --git a/update_pbuilder.sh b/update_pbuilder.sh index 71ede22a..a7bb8fbe 100755 --- a/update_pbuilder.sh +++ b/update_pbuilder.sh @@ -9,15 +9,16 @@ shift dists=$* [ ! -d "$basedir" ] && echo specify dir for pbuilder images && usage && exit 1 -[ -z "$dists" ] && dists="sid squeeze lenny natty maverick lucid" +[ -z "$dists" ] && dists="sid wheezy squeeze lenny oneiric precise natty maverick lucid" for dist in $dists do os="debian" + [ "$dist" = "precise" ] && os="ubuntu" + [ "$dist" = "oneiric" ] && os="ubuntu" [ "$dist" = "natty" ] && os="ubuntu" [ "$dist" = "maverick" ] && os="ubuntu" [ "$dist" = "lucid" ] && os="ubuntu" - [ "$dist" = "oneiric" ] && os="ubuntu" if [ $os = "debian" ]; then mirror="http://http.us.debian.org/debian"