diff --git a/lorax_templates/copy_dnf_cache.tmpl.in b/lorax_templates/copy_dnf_cache.tmpl.in index 665a12f..74a3873 100644 --- a/lorax_templates/copy_dnf_cache.tmpl.in +++ b/lorax_templates/copy_dnf_cache.tmpl.in @@ -1 +1 @@ -runcmd bash "-c 'if [[ -d /cache/dnf_new ]]; then cp -R /cache/dnf /cache/dnf_new; fi'" \ No newline at end of file +runcmd bash -c "if [[ -d /cache/dnf_new ]]; then cp -R /cache/dnf /cache/dnf_new; fi" \ No newline at end of file