Skip to content
Snippets Groups Projects
Verified Commit 2fca46a8 authored by Alex Iribarren's avatar Alex Iribarren
Browse files

Stop deleting stuff, just in case

parent 1241b560
No related branches found
No related tags found
No related merge requests found
Pipeline #4863556 passed
......@@ -168,10 +168,6 @@ cat << EOF | log > $OUTPUT
"changes": [${LIST}]
EOF
# Remove uuid files with certificates
echo /usr/bin/find ${REPOPATH} -regextype posix-extended -regex '^.*/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}' -not -name '*.rpm' -printf "removed '%f'\n" -delete
/usr/bin/find ${REPOPATH} -regextype posix-extended -regex '^.*/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}' -not -name '*.rpm' -printf "removed '%f'\n" -delete
# Clean up after yourself, and release your trap
rm -f "$LOCKFILE"
trap - INT TERM EXIT
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