[scripts/archlinux-packages-menu] increase the timeout for downloading the AUR package list

This commit is contained in:
Dmytro Meleshko 2020-11-07 11:07:03 +02:00
parent f9ed443e4a
commit 6ed0ea251c

View file

@ -3,7 +3,7 @@ set -euo pipefail
if package="$(set -euo pipefail; { if package="$(set -euo pipefail; {
expac --sync '%r/%a/%n %v - %d' expac --sync '%r/%a/%n %v - %d'
curl --silent --location --fail --max-time 3 --compressed https://aur.archlinux.org/packages.gz | awk '!/^#/ { print "aur/" $0 }' curl --silent --location --fail --max-time 10 --compressed https://aur.archlinux.org/packages.gz | awk '!/^#/ { print "aur/" $0 }'
} | rofi -dmenu)" && [[ -n "$package" ]]; then } | rofi -dmenu)" && [[ -n "$package" ]]; then
package="${package%% *}" package="${package%% *}"