Account for package versions that start with an epoch
This commit is contained in:
parent
95ce17436c
commit
978fe7eb51
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ function archversion_check() {
|
||||||
package_version=$(yay -Sia "$pkg" | grep -e '^Version' | sed 's|^Version *: *||;s|-[0-9]$||')
|
package_version=$(yay -Sia "$pkg" | grep -e '^Version' | sed 's|^Version *: *||;s|-[0-9]$||')
|
||||||
|
|
||||||
# Compare versions and handle accordingly
|
# 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
|
# Add a blank line after each package when running debug for easier parsing
|
||||||
[[ "$archversion_debug" = '1' ]] && printf '\n'
|
[[ "$archversion_debug" = '1' ]] && printf '\n'
|
||||||
|
|
Loading…
Reference in a new issue