diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-08-20 00:28:04 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-08-20 00:28:04 -0300 |
commit | 48995748c99dee29ca473463ffbf8b443b6c287a (patch) | |
tree | 125dd8fc8c7bf13c03e0dbd4d9bf165673659155 | |
parent | f8051126147e57292eeaa730f2c499aea1b1a16f (diff) |
fixing db-move for any package architecture
-rwxr-xr-x | db-move | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -47,7 +47,9 @@ for pkgbase in ${args[@]:2}; do for pkgname in ${pkgnames[@]}; do for tarch in ${tarches[@]}; do - getpkgfile "${ftppath_from}/${tarch}/"${pkgname}-${pkgver}-${pkgarch}${PKGEXT} >/dev/null + getpkgfile "${ftppath_from}/${tarch}/"${pkgname}-${pkgver}-${pkgarch}${PKGEXT} >/dev/null \ + || \ + getpkgfile "${ftppath_from}/${tarch}/"${pkgname}-${pkgver}-any${PKGEXT} >/dev/null done done continue 2 |