Skip to content

Commit

Permalink
[ckbcomp] added longer timeout for fetching the info about the package
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-192 committed Sep 1, 2024
1 parent a426108 commit e57dab8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckbcomp/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ _ckbcomp_preparations() {

url="$site/installer-team/console-setup"

local data=$(curl --fail --silent --location --max-time 10 $url/-/tags)
local data
data=$(curl --fail --silent --location --max-time 60 $url/-/tags) || return 1 # this may be very slow
local line="$(echo "$data" | grep -E -m1 "/console-setup-[0-9\.]+\.tar\.gz")"
local dl="$site$(echo "$line" | sed -E -e 's|(.*\.tar\.gz).*|\1|' -e 's|.+(/installer.+)|\1|')"

Expand Down

0 comments on commit e57dab8

Please sign in to comment.