diff --git a/xrankmirrors b/xrankmirrors index 771aa53..b712572 100755 --- a/xrankmirrors +++ b/xrankmirrors @@ -13,6 +13,11 @@ CLI_BOLD=$(tput bold) CLI_RESET=$(tput sgr0) dialog_conf="/tmp/xrankmirrors-dialogrc" +RED="\Z1" +WHITE="\Z7" +BOLD="\Zb" +RESET="\Zn" + cat > "$dialog_conf" <|g' | sed 's|'"${RESET}"'||g')" void_mirror=$(yad --list \ --separator="" \ @@ -553,7 +557,7 @@ detect_removed_mirrors() { local to_reset if [ -e /glibc/etc/xbps.d ]; then - repo_file_list="/{glibc,}etc/xbps.d/*cereus*.conf" + repo_file_list="$(find /{,glibc/}etc/xbps.d/*cereus*.conf | tr '\n' ' ')" sync_repos_cmd="xchroot /glibc xbps-install -S; xbps-install -S" else repo_file_list="/etc/xbps.d/*cereus*.conf"