diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-01-31 21:24:15 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-05-27 15:46:04 +0200 |
commit | 68360bd443deaa0ae2d9dde7cfd905a3a46f76cc (patch) | |
tree | e445fb2b6484eefba7dcd436e33e615b4ade9d8a /db-move | |
parent | b26d12f75d27e58ce04da45fc901488e4cd95fbf (diff) | |
download | dbscripts-68360bd443deaa0ae2d9dde7cfd905a3a46f76cc.tar.gz dbscripts-68360bd443deaa0ae2d9dde7cfd905a3a46f76cc.tar.xz |
cleanup
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'db-move')
-rwxr-xr-x | db-move | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -28,13 +28,16 @@ done msg "Moving packages from [${repo_from}] to [${repo_to}]..." +# TODO: resolve pkgname to pkgfile for db_add +# and actually make this script callable +# with a pkgname rather than a pkgfile for pkg in "${pkgs[@]}"; do pkgname=$(getpkgname "$FTP_BASE/$PKGPOOL/$pkg") arch_db_add "${repo_to}" "$arch" "$pkg" arch_db_remove "${repo_from}" "$arch" "$pkgname" done -arch_history_commit "db-move: $add_pkgs[@]" +arch_history_commit "db-move: ${pkgs[@]}" for pkgarch in ${ARCHES[@]}; do repo_unlock ${repo_from} ${pkgarch} |