diff options
author | Erich Eckner <git@eckner.net> | 2020-10-20 17:29:51 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-10-20 17:29:51 +0200 |
commit | 9e87c5d67306653182bf821a9e43cde90d68684b (patch) | |
tree | 1d9ded2f9dc8d8bffde0f59d604262ceb0da8424 | |
parent | 77db86aeebdd7ce01d92e50700101a349ddad3a7 (diff) | |
download | devops-9e87c5d67306653182bf821a9e43cde90d68684b.tar.xz |
archive: do not create symlinks for each package - let's do this via rewrite rules for httpd/nginx
-rwxr-xr-x | archive | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -67,23 +67,6 @@ if [ ! -d "${todays_path}" ]; then "${master_mirror_root}/${arch}/${repo}/${repo}.files" \ "${master_mirror_root}/${arch}/${repo}/${repo}.files.tar.gz" \ "${todays_path}/${arch}/${repo}/" - find "${master_mirror_root}/${arch}/${repo}" \ - -mindepth 1 \ - -maxdepth 1 \ - -type l \ - \( \ - -name '*.pkg.tar.xz' \ - -o -name '*.pkg.tar.xz.sig' \ - \) \ - -printf '%f\n' \ - | sed ' - s/^./\0 \0/ - ' \ - | while read -r initial file; do - ln -s \ - "../../../../../../packages/${initial}/${file%-*-*-*}/${file}" \ - "${todays_path}/${arch}/${repo}/${file}" - done done done rm -f \ |