index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/be_local.c | 7 |
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index 5d136c9e..67b66f28 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -99,6 +99,12 @@ static const char *_cache_get_md5sum(alpm_pkg_t *pkg) return pkg->md5sum; } +static const char *_cache_get_sha256sum(alpm_pkg_t *pkg) +{ + LAZY_LOAD(INFRQ_DESC, NULL); + return pkg->sha256sum; +} + static const char *_cache_get_arch(alpm_pkg_t *pkg) { LAZY_LOAD(INFRQ_DESC, NULL); @@ -251,6 +257,7 @@ static struct pkg_operations local_pkg_ops = { .get_installdate = _cache_get_installdate, .get_packager = _cache_get_packager, .get_md5sum = _cache_get_md5sum, + .get_sha256sum = _cache_get_sha256sum, .get_arch = _cache_get_arch, .get_size = _cache_get_size, .get_isize = _cache_get_isize, |