Get the AUR version ourselves rather than using archversion to handle it (which no longer works)
This commit is contained in:
parent
4d8948aebc
commit
6e65b0c077
2 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
[DEFAULT]
|
||||
downstream = aur
|
||||
downstream = none
|
||||
eval_upstream = version.replace("-", ".").replace("_",".").replace("/",".")
|
||||
regex_exclude = ""
|
||||
timeout = 10
|
||||
|
|
|
@ -130,9 +130,7 @@ function archversion_check() {
|
|||
upstream_version=$(grep -oE 'up: [^ ]*' <<< "$archversion_output" \
|
||||
| sed 's|up: ||')
|
||||
|
||||
package_version=$(grep -oE 'aur: [^ ]*' <<< "$archversion_output" \
|
||||
| sed 's|aur: ||' \
|
||||
| sed 's|^[0-9][0-9]*:||')
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue