summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-08-20 00:28:04 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-08-20 00:28:04 -0300
commit48995748c99dee29ca473463ffbf8b443b6c287a (patch)
tree125dd8fc8c7bf13c03e0dbd4d9bf165673659155
parentf8051126147e57292eeaa730f2c499aea1b1a16f (diff)
fixing db-move for any package architecture
-rwxr-xr-xdb-move4
1 files changed, 3 insertions, 1 deletions
diff --git a/db-move b/db-move
index 010d941..73c4517 100755
--- a/db-move
+++ b/db-move
@@ -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