Skip to content

Commit 9bf4a9d

Browse files
committed
ucm download: retry on errors
1 parent 54ffeaa commit 9bf4a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-ucm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ release_file_name() {
1515

1616
mkdir -p /opt/unisonlanguage
1717

18-
curl --fail-with-body -L "https://github.com/unisonweb/unison/releases/download/${UCM_RELEASE}/$(release_file_name)" | tar -xz -C /opt/unisonlanguage
18+
curl --fail-with-body --retry 12 --retry-all-errors -L "https://github.com/unisonweb/unison/releases/download/${UCM_RELEASE}/$(release_file_name)" | tar -xz -C /opt/unisonlanguage
1919

2020
ln -s /opt/unisonlanguage/ucm /usr/local/bin/ucm

0 commit comments

Comments
 (0)