From patchwork Tue Aug 14 08:30:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Quantal] Enables getabis to use local package copies Date: Mon, 13 Aug 2012 22:30:07 -0000 From: Stefan Bader X-Patchwork-Id: 177187 Message-Id: <1344933007-5192-1-git-send-email-stefan.bader@canonical.com> To: kernel-team@lists.ubuntu.com This probably is something to let flow backwards. Though on the other hand it is more likely to be an issue with a devel tree not being uploaded to c-k-t. -Stefan >From be6e8dd42326926e3f058577908718b2e2ba6ea6 Mon Sep 17 00:00:00 2001 From: Stefan Bader Date: Tue, 14 Aug 2012 10:26:18 +0200 Subject: [PATCH] UBUNTU: (config) Enable getabis to use local package copies If a package is not (yet) uploaded into the archive it will be possible to place a copy of the .deb into the home directory and it will get picked up. Signed-off-by: Stefan Bader --- debian/scripts/misc/getabis | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/scripts/misc/getabis b/debian/scripts/misc/getabis index c48199d..970c88f 100755 --- a/debian/scripts/misc/getabis +++ b/debian/scripts/misc/getabis @@ -47,6 +47,12 @@ getall() { for prefix in $__package_prefixes do filename=${prefix}-${verabi}-${sub}_${verfull}_${arch}.deb + + # Take local copy if it is there... + if [ -f $HOME/$filename ]; then + cp $HOME/$filename . + fi + for r in "${repo_list[@]}" do if ! [ -f $filename ]; then