prettier formatting

This commit is contained in:
fabolous005 2024-10-06 01:34:18 +02:00
parent 005b627eda
commit dd5bd1ae71

3
etools
View File

@ -84,7 +84,8 @@ function etools_get_version() {
fi fi
latest=$(_get_latest "$1" "${2:-${package_offset[$1]:-0}}" "$arch") latest=$(_get_latest "$1" "${2:-${package_offset[$1]:-0}}" "$arch")
[ -n "$latest" ] && _extract_version "$latest" && "$ETOOLS_DIR"/helper.sh && return 0; [ -n "$latest" ] && _extract_version "$latest" && "$ETOOLS_DIR"/helper.sh && return 0;
ewarn "No version found for package: $1$( (( ! ${2:-${package_offset[$1]:-0}} == 0 )) && echo " with offset $offset")" ewarn "No version found for package: $1$( (( ! ${2:-${package_offset[$1]:-0}} == 0 )) \
&& echo " with offset $offset")"
} }