[pacman-dev] delta support in libalpm
Aaron Griffin
aaronmgriffin at gmail.com
Fri Feb 27 11:24:40 EST 2009
On Fri, Feb 27, 2009 at 10:14 AM, Xavier <shiningxc at 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 ?
More information about the pacman-dev
mailing list