From 9cc25b8cd4967167a3f44a4c65fc30f69f0e5a70 Mon Sep 17 00:00:00 2001 From: Jason Chu Date: Mon, 20 Mar 2006 02:48:43 +0000 Subject: look for packages in the PKGDEST directory if we can't find them locally git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@219 630f3fb4-fbd1-0310-a574-b293cca3120f --- extrapkg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'extrapkg') diff --git a/extrapkg b/extrapkg index e2b670a..fb9f6bc 100755 --- a/extrapkg +++ b/extrapkg @@ -12,6 +12,10 @@ fi source PKGBUILD pkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz +if [ ! -f $pkgfile ]; then + pkgfile=$PKGDEST/$pkgfile +fi + if [ ! -f $pkgfile ]; then echo "File $pkgfile doesn't exist" exit 1 -- cgit v1.2.3-70-g09d2