summaryrefslogtreecommitdiffstats
path: root/db-move
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-10 21:40:24 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-10 21:40:24 +0200
commitaf4f86808e8cd45cc171f55a1ec15bf30d858a0d (patch)
tree8bc626956bad716595c7123d956cddf583087d87 /db-move
parent9c06372cf6caa2ba25e9ab1f32cbb02b2d280b13 (diff)
downloaddbscripts-af4f86808e8cd45cc171f55a1ec15bf30d858a0d.tar.gz
dbscripts-af4f86808e8cd45cc171f55a1ec15bf30d858a0d.tar.xz
Use more consitent naming for package pool
There are no longer architecture-specific subdirs and the structure was switch to this: ftp └── pool ├── community └── packages packages contains all packages from core, extra and testing; this naming is in sync with the svn repo naming: svn-packages and svn-community
Diffstat (limited to 'db-move')
-rwxr-xr-xdb-move8
1 files changed, 4 insertions, 4 deletions
diff --git a/db-move b/db-move
index bbe7ff7..d18a4fa 100755
--- a/db-move
+++ b/db-move
@@ -53,13 +53,13 @@ if [ -d "$packagebase/repos/$svnrepo_from" ]; then
# copy package to pool if needed
# TODO: can be removed once every package has been moved to the package pool
- if [ ! -f $FTP_BASE/$(get_pkgpool_for_host)/${arch}/$pkgfile ]; then
- cp $pkgpath $FTP_BASE/$(get_pkgpool_for_host)/${arch}/
+ if [ ! -f $FTP_BASE/$(get_pkgpool_for_host)/$pkgfile ]; then
+ cp $pkgpath $FTP_BASE/$(get_pkgpool_for_host)
fi
- ln -s "../../../$(get_pkgpool_for_host)/${arch}/${pkgfile}" $ftppath_to/${tarch}/
+ ln -s "../../../$(get_pkgpool_for_host)/${pkgfile}" $ftppath_to/${tarch}/
done
- pkgfiles="${pkgfiles} $FTP_BASE/$(get_pkgpool_for_host)/${arch}/${pkgfile}"
+ pkgfiles="${pkgfiles} $FTP_BASE/$(get_pkgpool_for_host)/${pkgfile}"
done
for tarch in ${tarches[@]}; do