diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-02 14:29:14 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-02 14:29:14 -0500 |
commit | 49850f2ba4494956e31b9d8474903e9ab3dd9b8e (patch) | |
tree | 81e788b9dfbc73768692649a088c888cb4259972 | |
parent | f0f010772d651e09f957f9b47057e81e7737ad45 (diff) |
librestage can find packages with epoch
-rwxr-xr-x | librestage | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |