diff options
author | Erich Eckner <git@eckner.net> | 2018-05-30 17:35:50 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-30 17:35:50 +0200 |
commit | 85d5972e1ea0699c333e7491203743f9dc727c6a (patch) | |
tree | ea9617501324304cecb99158d7a6ac40ed833b68 /bin | |
parent | cda2392404925c6b2bc6a82ff60b8553869b1db0 (diff) | |
download | builder-85d5972e1ea0699c333e7491203743f9dc727c6a.tar.xz |
bin/return-assignment: upload symlinks - might break db-update ... we will see :-D
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/return-assignment | 12 |
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} \ |