summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-10-20 17:29:51 +0200
committerErich Eckner <git@eckner.net>2020-10-20 17:29:51 +0200
commit9e87c5d67306653182bf821a9e43cde90d68684b (patch)
tree1d9ded2f9dc8d8bffde0f59d604262ceb0da8424
parent77db86aeebdd7ce01d92e50700101a349ddad3a7 (diff)
downloaddevops-9e87c5d67306653182bf821a9e43cde90d68684b.tar.xz
archive: do not create symlinks for each package - let's do this via rewrite rules for httpd/nginx
-rwxr-xr-xarchive17
1 files changed, 0 insertions, 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 \