diff options
author | Jason Chu <jason@archlinux.org> | 2006-03-20 02:48:43 +0000 |
---|---|---|
committer | Jason Chu <jason@archlinux.org> | 2006-03-20 02:48:43 +0000 |
commit | 9cc25b8cd4967167a3f44a4c65fc30f69f0e5a70 (patch) | |
tree | 2b7653639b6f79961ad29e951af3d046a00e917c | |
parent | 451393deb94697d1717bae4e5ecd1dce01410bad (diff) |
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
-rwxr-xr-x | extrapkg | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -13,6 +13,10 @@ 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 fi |