From 49850f2ba4494956e31b9d8474903e9ab3dd9b8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Thu, 2 Jun 2011 14:29:14 -0500 Subject: librestage can find packages with epoch --- librestage | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'librestage') 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 -- cgit v1.2.2