kiss: simplify check

This commit is contained in:
Dylan Araps 2021-07-15 07:41:59 +03:00
parent c0cc18b6ee
commit 534ab0d96d
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -185,7 +185,7 @@ pkg_find_version() {
read -r repo_ver repo_rel 2>/dev/null < "$repo_dir/version" ||
die "$1" "Failed to read version file ($repo_dir/version)"
case $2 in *?*)
case $2 in 1)
# Split the version on '.+-' to obtain individual components.
# Intentional, globbing disabled.
# shellcheck disable=2086