Merge branch 'github' into 'main'

Improved how find .iso if present

See merge request ste74/manjaro-iso-downloader!5
This commit is contained in:
Stefano Capitani 2023-01-13 16:37:50 +00:00
commit b7f53cda7e

View file

@ -314,7 +314,7 @@ downloaded_iso() {
check_programs
check_connection
check_manj_de
if [[ ! -z "$(ls -A "$iso_dir")" ]]; then
if [[ $(find $iso_dir -name '*.iso') ]]; then
downloaded_iso
[[ $? -eq 1 ]] && exit 1
fi