Optimize OS/release/version detection for faster execution #70

Merged
benpro merged 86 commits from fast-debian-check into master 2019-04-05 11:01:57 +02:00
Showing only changes of commit e525141ae4 - Show all commits

View file

@ -1017,11 +1017,7 @@ if is_debian; then
# If there is no duplicate, uniq will have no output # If there is no duplicate, uniq will have no output
# So, if $tmpOutput is not null, there is a duplicate # So, if $tmpOutput is not null, there is a duplicate
if [ -n "$tmpOutput" ]; then if [ -n "$tmpOutput" ]; then
failed "IS_DUPLICATE_FS_LABEL" failed "IS_DUPLICATE_FS_LABEL" "Duplicate labels: $tmpOutput"
if [ "$VERBOSE" = 1 ]; then
echo "Duplicate labels:"
echo -e "$tmpOutput\n"
fi
fi fi
rm $tmpFile rm $tmpFile
fi fi