Skip to content
Snippets Groups Projects
Verified Commit cfe96bc8 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

arch_boxes_sync: Ensure the mtime of the "latest" symlinks matches the dest

Fixes: 2e799bd1 ("arch_boxes_sync: Create predictable symlinks for latest image files")
parent ae34cd11
No related branches found
No related tags found
1 merge request!580arch_boxes_sync: Pull the artifacts from GitLab's package registry
......@@ -55,8 +55,9 @@ for FILE in "${LATEST_VERSION}"/*; do
elif [[ $FILE =~ .*\.SHA256.sig$ ]]; then
continue
else
FILE="${FILE##*/}"
ln -s "${FILE}" "${DEST}"
SYMLINK="${FILE##*/}"
ln -s "${SYMLINK}" "${DEST}"
touch --no-create --reference="${FILE}" --no-dereference "${DEST}"
fi
fi
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment