summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/abslibre-tools/librestage3
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