diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-10 21:40:24 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-10 21:40:24 +0200 |
commit | af4f86808e8cd45cc171f55a1ec15bf30d858a0d (patch) | |
tree | 8bc626956bad716595c7123d956cddf583087d87 /db-move | |
parent | 9c06372cf6caa2ba25e9ab1f32cbb02b2d280b13 (diff) | |
download | dbscripts-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-x | db-move | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |