We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfe774c commit 9039f10Copy full SHA for 9039f10
scripts/archlinux_util.sh
@@ -40,7 +40,7 @@ _set_and_persist() {
40
var_name=$1
41
var_value=$2
42
if [ ! "$(command -v jq)" ]; then
43
- pacman -Sy --noconfirm jq
+ pacman -Sy --noconfirm --disable-download-timeout jq
44
fi
45
# Persist the variable to the state file
46
if [ -f "$_ARCH_STATE_FILE" ]; then
@@ -57,7 +57,7 @@ _get_value() {
57
58
59
60
61
62
value=$(jq -r --arg key "$var_name" '.[$key]' "$_ARCH_STATE_FILE" 2>/dev/null)
63
echo "$value"
0 commit comments