move "filter and merge all logs" up

This commit is contained in:
Oliver Smith 2023-08-31 15:41:16 +02:00
parent 449d46fb3e
commit 24ac9bb859
1 changed files with 3 additions and 2 deletions

View File

@ -34,8 +34,7 @@ date_start="$(cat_log $FILES_LAST | head -n1 | cut -d " " -f 4-5)"
date_end="$(cat_log $FILES_FIRST | tail -n1 | cut -d " " -f 4-5)"
echo " $date_start - $date_end" | tr -d '[' | tr -d ']'
echo
echo "Distributions:"
# Filter and merge all logs
for file in $FILES; do
for format in deb rpm; do
cat_log "$file" \
@ -50,6 +49,8 @@ for file in $FILES; do
done
done
echo
echo "Distributions:"
distros="$(cat "$TEMP" \
| cut -d " " -f 7- \
| cut -d / -f 5 \