forked from mirrored-repos/manjaro-tools
no output for cleanup
This commit is contained in:
parent
ee954e0676
commit
ef96f8bd1d
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ clean_up(){
|
||||||
msg2 "Cleaning up what we can"
|
msg2 "Cleaning up what we can"
|
||||||
if [ -d "${work_dir}/${IMAGE_FOLDER}/boot/" ]; then
|
if [ -d "${work_dir}/${IMAGE_FOLDER}/boot/" ]; then
|
||||||
# remove the initcpio images that were generated for the host system
|
# remove the initcpio images that were generated for the host system
|
||||||
find "${work_dir}/${IMAGE_FOLDER}/boot" -name 'initramfs*.img' -delete
|
find "${work_dir}/${IMAGE_FOLDER}/boot" -name 'initramfs*.img' -delete &>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ${CREATE_DEFAULT}; then
|
if ${CREATE_DEFAULT}; then
|
||||||
|
|
Loading…
Reference in a new issue