summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-30 17:35:50 +0200
committerErich Eckner <git@eckner.net>2018-05-30 17:35:50 +0200
commit85d5972e1ea0699c333e7491203743f9dc727c6a (patch)
treeea9617501324304cecb99158d7a6ac40ed833b68 /bin
parentcda2392404925c6b2bc6a82ff60b8553869b1db0 (diff)
downloadbuilder-85d5972e1ea0699c333e7491203743f9dc727c6a.tar.xz
bin/return-assignment: upload symlinks - might break db-update ... we will see :-D
Diffstat (limited to 'bin')
-rwxr-xr-xbin/return-assignment12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 322caf0..ac2e4c0 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -518,12 +518,12 @@ ${master_mirror_rsync_command} \
./*".pkg.tar.xz.sig" \
"${master_mirror_rsync_directory}/pool/"
-# TODO: create symlinks
-#find . \( -name '*.pkg.tar.xz' -o -name '*.pkg.tar.xz.sig' \) -printf '%f\n' | \
-# while read -r file; do
-# rm "${file}"
-# ln -s "../../pool/${file}" "${file}"
-# done
+# create symlinks
+find . \( -name '*.pkg.tar.xz' -o -name '*.pkg.tar.xz.sig' \) -printf '%f\n' | \
+ while read -r file; do
+ rm "${file}"
+ ln -s "../../pool/${file}" "${file}"
+ done
# upload the database and the symlinks into /$arch/$repo
${master_mirror_rsync_command} \