From 6fe39d27f1f2a321bdd0be87996e315ea9a7bf22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Sat, 6 Feb 2010 14:42:16 +0100 Subject: Add support for Ubuntu "old-releases" --- pbuilder-apt-config | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pbuilder-apt-config') diff --git a/pbuilder-apt-config b/pbuilder-apt-config index 20eb07e..f8a8e02 100755 --- a/pbuilder-apt-config +++ b/pbuilder-apt-config @@ -62,6 +62,9 @@ guess_dist_arch_archive() { buzz|rex|bo|hamm|slink|potato|woody|sarge|etch|lenny|squeeze) echo "debian-archive" ;; + warty|hoary|breezy|edgy|feisty|gutsy) + echo "ubuntu-old" + ;; hardy|intrepid|jaunty|karmic|lucid) case "$arch" in amd64|i386) @@ -136,6 +139,9 @@ builtin_mirror_map() { ubuntu) echo "http://archive.ubuntu.com/ubuntu/" ;; + ubuntu-old) + echo "http://old-releases.ubuntu.com/ubuntu/" + ;; ubuntu-ports) echo "http://ports.ubuntu.com/ubuntu-ports/" ;; @@ -379,7 +385,7 @@ if [ -n "$profile" ]; then ;; esac ;; - ubuntu|ubuntu-ports) + ubuntu|ubuntu-old|ubuntu-ports) if [ "$base_dist" != "${profile%%-*}" ]; then die "Unknown Ubuntu based profile=$profile" fi -- cgit v1.2.3