summaryrefslogtreecommitdiff
path: root/archweb.inc.sh
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2017-11-18 08:14:00 -0500
committerDave Reisner <dreisner@archlinux.org>2017-11-18 08:28:11 -0500
commit22f079869b7586bcef4b77b6601376be2bd1e61d (patch)
tree3a8feb4fbd9b55276dd7d50437bb12028616fd2d /archweb.inc.sh
parentc9dfb6dc724d8d2d79d525620566e3f188d72310 (diff)
downloadasp32-22f079869b7586bcef4b77b6601376be2bd1e61d.tar.xz
Avoid corrupting caches when network is unavailable
This removes the use of a tempfile entirely, and only updates the cache when `git ls-remote` succeeds. Based on a PR by polygamma: https://github.com/falconindy/asp/pull/20
Diffstat (limited to 'archweb.inc.sh')
0 files changed, 0 insertions, 0 deletions