From 284375bb4d2f08ff249718e38a9b9f68765b5d4e Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:49:45 -0400 Subject: [PATCH] copy content not dir --- lorax_templates/cache_copy_dnf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lorax_templates/cache_copy_dnf.tmpl b/lorax_templates/cache_copy_dnf.tmpl index 524eb00..43d4354 100644 --- a/lorax_templates/cache_copy_dnf.tmpl +++ b/lorax_templates/cache_copy_dnf.tmpl @@ -1,3 +1,3 @@ <%page args="dnf_cache"/> -runcmd bash -c "if [[ -e ${dnf_cache}_new ]]; then cp -R ${dnf_cache} ${dnf_cache}_new; fi" \ No newline at end of file +runcmd bash -c "if [[ -e ${dnf_cache}_new ]]; then cp -R ${dnf_cache}/* ${dnf_cache}_new/; fi" \ No newline at end of file