diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-21 22:34:19 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-21 22:34:19 -0500 |
commit | 116d2c3c013c098da3919937c6ce5158ff357946 (patch) | |
tree | 0d20082e45834dae4dd8d617f1c9828df95c677b | |
parent | 4840335e2c90048a64dee4556c4764d2abc5577f (diff) |
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).
-rwxr-xr-x | src/abslibre-tools/librestage | 3 |
1 files changed, 1 insertions, 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 |