summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibrestage4
1 files changed, 3 insertions, 1 deletions
diff --git a/librestage b/librestage
index f074672..917c9bf 100755
--- a/librestage
+++ b/librestage
@@ -77,7 +77,9 @@ staged='n'
for _arch in ${ARCHES[@]}; do
for pkg in ${pkgname[@]}; do
- pkgpath=$(find ${PKGDEST}/ -type f -name "${pkg}-${pkgver}-${pkgrel}-${_arch}${PKGEXT}")
+ pkgpath=$(find ${PKGDEST}/ -type f \
+ -name "${pkg}-${pkgver}-${pkgrel}-${_arch}${PKGEXT}" -or \
+ -name "${pkg}-${epoch}:${pkgver}-${pkgrel}-${_arch}${PKGEXT}")
[[ -z ${pkgpath} ]] && continue