diff --git a/checkversion b/checkversion index 27a6870..20a17c6 100755 --- a/checkversion +++ b/checkversion @@ -133,7 +133,7 @@ function archversion_check() { package_version=$(yay -Sia "$pkg" | grep -e '^Version' | sed 's|^Version *: *||;s|-[0-9]$||') # Compare versions and handle accordingly - vercmp_check "$pkg" "$upstream_version" "$package_version" + vercmp_check "$pkg" "$upstream_version" "${package_version/[0-9]:}" # Add a blank line after each package when running debug for easier parsing [[ "$archversion_debug" = '1' ]] && printf '\n'