27 Feb
2009
27 Feb
'09
4:24 p.m.
On Fri, Feb 27, 2009 at 10:14 AM, Xavier <shiningxc@gmail.com> wrote:
find_pkgentry() { local pkgname=$1 local pkgentry for pkgentry in $gstmpdir/$pkgname*; do name=${pkgentry##*/} if [ "${name%-*-*}" = "$pkgname" ]; then echo $pkgentry return 0 fi done return 1 }
Is this doable without unpacking the DB? Perhaps using bsdtar -tf ?