From bc39677addac67a0e1c7ede71114fd2b807e5a56 Mon Sep 17 00:00:00 2001 From: Wang Shidong Date: Sun, 19 Jul 2020 11:28:51 +0800 Subject: [PATCH] Fix fonts downloader (#3648) close #3428 --- docs/cn/install.sh | 2 +- docs/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cn/install.sh b/docs/cn/install.sh index 438f9ed68..83bd71c73 100755 --- a/docs/cn/install.sh +++ b/docs/cn/install.sh @@ -342,7 +342,7 @@ welcome () { # download_font {{{ download_font () { - url="https://raw.githubusercontent.com/wsdjeg/DotFiles/master/local/share/fonts/$1" + url="https://raw.githubusercontent.com/wsdjeg/DotFiles/7a75a186c6db9ad6f02cafba8d4c7bc78f47304c/local/share/fonts/${1// /%20}" path="$HOME/.local/share/fonts/$1" if [[ -f "$path" ]] then diff --git a/docs/install.sh b/docs/install.sh index b30f87e7f..2a5b96e32 100755 --- a/docs/install.sh +++ b/docs/install.sh @@ -342,7 +342,7 @@ welcome () { # download_font {{{ download_font () { - url="https://raw.githubusercontent.com/wsdjeg/DotFiles/master/local/share/fonts/${1// /%20}" + url="https://raw.githubusercontent.com/wsdjeg/DotFiles/7a75a186c6db9ad6f02cafba8d4c7bc78f47304c/local/share/fonts/${1// /%20}" path="$HOME/.local/share/fonts/$1" # Clean up after https://github.com/SpaceVim/SpaceVim/issues/2532 if [[ -f "$path" && ! -s "$path" ]]