diff --git a/reposync/runreposync.sh b/reposync/runreposync.sh index 365ab4eeb29e118e0ffffbd71c4004ca2b5fa546..6d08f1fd8dc944dbbc83a714a8588ff1a6df6911 100755 --- a/reposync/runreposync.sh +++ b/reposync/runreposync.sh @@ -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