From 9e87c5d67306653182bf821a9e43cde90d68684b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 20 Oct 2020 17:29:51 +0200 Subject: archive: do not create symlinks for each package - let's do this via rewrite rules for httpd/nginx --- archive | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/archive b/archive index bfb19ce..56854de 100755 --- a/archive +++ b/archive @@ -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 \ -- cgit v1.2.3