diff --git a/Makefile b/Makefile index 03b27cb..d5bbe3e 100644 --- a/Makefile +++ b/Makefile @@ -219,7 +219,7 @@ clean: rm -f $(_BASE_DIR)/*.log || true install-deps: - dnf install -y lorax xorriso skopeo flatpak dbus-daemon ostree coreutils + dnf install -y lorax xorriso skopeo flatpak dbus-daemon ostree coreutils gettext test: test-iso test-vm diff --git a/lorax_templates/cache_copy_dnf.tmpl b/lorax_templates/cache_copy_dnf.tmpl index 69f3413..524eb00 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 [[ -d ${dnf_cache} ]]; 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