mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
LIBMAN: not showing "Copied files" if there aren't
This commit is contained in:
parent
598fdc4829
commit
cd027eb71a
|
@ -70,10 +70,12 @@ done
|
|||
echo "LibMan is flying away"
|
||||
|
||||
# Output the lists of copied and failed files
|
||||
if [ ${#copied_files[@]} -ne 0 ]; then
|
||||
echo "Copied files:"
|
||||
for file in "${copied_files[@]}"; do
|
||||
echo "$file"
|
||||
done
|
||||
fi
|
||||
|
||||
# Output failed files only if the list is not empty
|
||||
if [ ${#failed_files[@]} -ne 0 ]; then
|
||||
|
|
Loading…
Reference in a new issue