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