File may not be installed

This commit is contained in:
g0tmi1k 2022-11-11 00:36:33 +00:00
parent 73e22c7346
commit 033af0c325

View file

@ -905,7 +905,7 @@ if [[ "${GETPATH}" -eq 1 ]]; then
fi
## File type
fileinfo="$( file -b "${location}" )"
fileinfo="$( file -b "${location}" 2>/dev/null || echo "<missing file package>" )"
## How long is the name?
PADDING=$(( 9 - ${#name} ))