From 85d5972e1ea0699c333e7491203743f9dc727c6a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 30 May 2018 17:35:50 +0200 Subject: bin/return-assignment: upload symlinks - might break db-update ... we will see :-D --- bin/return-assignment | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/return-assignment') 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} \ -- cgit v1.2.3-70-g09d2