Skip to content

Commit

Permalink
[eos-rankmirrors] don't warn about update level if alpix fails to pro…
Browse files Browse the repository at this point in the history
…vide a level
  • Loading branch information
manuel-192 committed Sep 27, 2024
1 parent 47c220d commit 25e54e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions eos-rankmirrors/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: EndeavourOS <[email protected]>

pkgname=eos-rankmirrors
pkgver=24.9
pkgver=24.9.1
pkgrel=1
pkgdesc="EndeavourOS mirror ranking tool"
arch=('any')
Expand All @@ -22,7 +22,7 @@ source=(
$url/${pkgname}.conf
$url/${pkgname}.disabled
)
sha512sums=('f0b3481ca2757f42f616b992c6043bd48eada488cfb4363ef7b2f186799328c4b1480959c65112335ba4e10d25a3e9e78e0e056e0296cffea298b5f4ce5267f6'
sha512sums=('748d676586c86fa5cee0395e6fcb0be98a04a67d36f02e8aa8bd7f299ef07ca72def921c0288b9b0f9b343797b1be6f3a6ba467ec2b9bc5ab315c64046a22e2d'
'e945c073d46abf35d9cf9042c7906bf9a1bad73760e0f06fb42c59227cf0ef1e3ea9ceeb9dc3b2185b0a37711e7b698dd28565be62e21a7bddb5f3b4a2daeee4'
'fc3113a20559ec58ffff2cacae8069ce5c83ad826f0054488315d024cb874a92ae9240fe4630bd9da647ee2cbf0e93dd22259190c703f26d21bf0b8481686a4c'
'f01f6267f624992febfec29c76f2de1c503693086ade5783e2b9cbef359f5155bf6df520ff06299193c842aef2a05cac5078977ee0dabf55cff66f44aec6e44a'
Expand Down
6 changes: 3 additions & 3 deletions eos-rankmirrors/eos-rankmirrors
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ GetUpdateNumberAndTime() {
case "$retcode" in
28) msg+=("Connection to this mirror failed after $timeout seconds.") ;;
# 7) msg+=("Connection to this mirror failed. The mirror may be temporarily or permanently offline.") ;;
*) msg+=("Connection to this mirror failed.") ;;
*) msg+=("Connection to this mirror failed (code 60).") ;;
esac
case "$mirror_verbosity" in
all)
Expand Down Expand Up @@ -242,8 +242,8 @@ GetUpdateNumberAndTime() {
GetReferenceUpdateLevel() {
local refroot="https://mirror.alpix.eu/endeavouros/repo"
local result=$(GetUpdateNumberAndTime "$refroot/state" "$refroot"/'$repo/$arch')
[ -n "$result" ] || exit 0
reference_level=$(echo "$result" | awk '{print $2}')

[ -n "$result" ] && reference_level=$(echo "$result" | awk '{print $2}')
}

CheckMirrorlist() {
Expand Down

0 comments on commit 25e54e5

Please sign in to comment.