1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 19:07:54 +01:00

don't check if directory

This commit is contained in:
Jason N. 2024-03-11 13:12:53 -04:00
parent b0fbefb08e
commit 64f0cedd34
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
<%page args="dnf_cache"/>
runcmd bash -c "if [[ -d ${dnf_cache} ]]; then cp -R ${dnf_cache} ${dnf_cache}_new; fi"
runcmd bash -c "if [[ -e ${dnf_cache}_new ]]; then cp -R ${dnf_cache} ${dnf_cache}_new; fi"