Skip to content

Commit

Permalink
[eos-rankmirrors] added new config EOS_SHOW_ORIGINAL_MIRRORLIST in /e…
Browse files Browse the repository at this point in the history
…tc/eos-rankmirrors.conf
  • Loading branch information
manuel-192 committed Jan 16, 2025
1 parent 8e54f38 commit 600012c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eos-rankmirrors/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ source=(
$url/${pkgname}.conf
$url/${pkgname}.disabled
)
sha512sums=('2f73f9f1b0057fbf2356c02926921fc81d15e5b3d0956171e9f99101462c952e57a5e01f922c2af7afb594443e21e4fde6b30617b7e41f4447f9eadab5fecdd6'
sha512sums=('de2cb20b85c9c183a6379513dc84bff040faaa26c612c2b0ed3f2379a78e5fd6bed4cafbc94a0beb5c8f6e6562595a0fcc002af66256fd6877b3b8dec819608b'
'e945c073d46abf35d9cf9042c7906bf9a1bad73760e0f06fb42c59227cf0ef1e3ea9ceeb9dc3b2185b0a37711e7b698dd28565be62e21a7bddb5f3b4a2daeee4'
'fc3113a20559ec58ffff2cacae8069ce5c83ad826f0054488315d024cb874a92ae9240fe4630bd9da647ee2cbf0e93dd22259190c703f26d21bf0b8481686a4c'
'f01f6267f624992febfec29c76f2de1c503693086ade5783e2b9cbef359f5155bf6df520ff06299193c842aef2a05cac5078977ee0dabf55cff66f44aec6e44a'
'ffe0e2f832d513bf0ea3cd36eb6e78305fb181b6e6d261a592a51c4f0a51c807d98b78d789a22df5963045834dbf23a5725178be5526b285f43e7223e42f4e59'
'fd315acf35a5e699caffe1e7d47660b5544b7d84e653106efd0074351a92cd8447e148b22d4ee999a76a135b13c41f927b733036f842c487de2ed40b35723cda'
'06b77d1109fec45071dd2a3c1be07c225a5735961bd2818d0ccea608fef6e85bf4ae71d821427aa766d5b1934195282c1964965df7bd49602316b3bab6bf9824')

package() {
Expand Down
1 change: 1 addition & 0 deletions eos-rankmirrors/eos-rankmirrors
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ Main()

source $conf || DIE "Config file $conf does not exist!"
ALWAYS_FIRST_EOS_MIRRORS=${ALWAYS_FIRST_EOS_MIRRORS//[,|]/ }
[ "$EOS_SHOW_ORIGINAL_MIRRORLIST" ] && show_original_list="$EOS_SHOW_ORIGINAL_MIRRORLIST"

mirror_verbosity="$EOS_RANKMIRRORS_EXIT_CODE_VERBOSITY"

Expand Down
8 changes: 8 additions & 0 deletions eos-rankmirrors/eos-rankmirrors.conf
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ EOS_RANK_WHEN_MIRRORLIST_CHANGES=yes
#
EOS_KEEP_UNRANKED_LIST_BY_HOOK=no

# EOS_SHOW_ORIGINAL_MIRRORLIST determines whether to include the original unranked
# list of mirrors to the end of the ranked file.
# Supported values:
# yes (default)
# no
#
EOS_SHOW_ORIGINAL_MIRRORLIST=yes

# CMD_OPTIONS can contain your default command line options.
# If the list is empty (i.e. no options), the app defaults will be used.
#
Expand Down

0 comments on commit 600012c

Please sign in to comment.