diff --git a/rootfs.sh b/rootfs.sh index c88d264..fa68b95 100755 --- a/rootfs.sh +++ b/rootfs.sh @@ -98,7 +98,9 @@ get_file() { else bname=$(basename "$url" ".tar.${ext}") fi - cp "${bname}.kaem" tmp/after + if [ -f "{bname}.*" ]; then + cp "${bname}.*" tmp/after + fi cp "../sources/$(basename "$url")" tmp/after }