From 116d2c3c013c098da3919937c6ce5158ff357946 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 21 Dec 2012 22:34:19 -0500 Subject: librestage: use get_full_version() for finding the package file. This fixes a bug with it assuming that version is the same across split packages (and possibly other bugs). --- src/abslibre-tools/librestage | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/abslibre-tools/librestage b/src/abslibre-tools/librestage index b474bb1..ae66cce 100755 --- a/src/abslibre-tools/librestage +++ b/src/abslibre-tools/librestage @@ -85,8 +85,7 @@ for _arch in ${ARCHES[@]}; do for pkg in ${pkgname[@]}; do pkgpath=$(find ${PKGDEST}/ -type f \ - -name "${pkg}-${pkgver}-${pkgrel}-${_arch}${PKGEXT}" -or \ - -name "${pkg}-${epoch}:${pkgver}-${pkgrel}-${_arch}${PKGEXT}") + -name "${pkg}-$(get_full_version "${pkg}")-${_arch}${PKGEXT}") [[ -z ${pkgpath} ]] && continue -- cgit v1.2.3-54-g00ecf