diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-09-07 20:29:00 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-09-07 20:29:00 +0200 |
commit | b75326edbdd0ae11f4e10aedb2f64ce536b67479 (patch) | |
tree | 00e5401500c9947ffc1cd3c69fffb7993f84c2d8 /createlinks | |
parent | 75f1cb22a6aa272470b7299047aadd7c7063ce97 (diff) | |
download | repo-tools-b75326edbdd0ae11f4e10aedb2f64ce536b67479.tar.gz repo-tools-b75326edbdd0ae11f4e10aedb2f64ce536b67479.tar.xz |
mirror gwdg.de instead of kernel.org; ignore empty repos (needed for multilib)
Diffstat (limited to 'createlinks')
-rwxr-xr-x | createlinks | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/createlinks b/createlinks index 9d7db15..7c975b7 100755 --- a/createlinks +++ b/createlinks @@ -22,9 +22,9 @@ getpkgname() { for repo in ${repos[@]}; do for arch in ${arches[@]}; do - echo "$repo/$arch..." - # ( repodir=${repo}/os/${arch} + [ ! -f ${target}/$repodir/$repo.db ] && continue + echo "$repo/$arch..." cached=false # extract old file archive @@ -61,9 +61,7 @@ for repo in ${repos[@]}; do mkdir -p $pkgdir bsdtar --exclude=*.tar.* -czf ${pkgdir}/${repo}.links.tar.gz -C ${tmp}/tmp/${repodir} . fi - # )& done -#wait done rm -rf ${tmp} |