tangled
alpha
login
or
join now
sharparam.com
/
dotfiles
0
fork
atom
this repo has no description
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
Bashify Recursive updater script
sharparam.com
3 years ago
4c016aa6
d2b9af6b
+2
-2
1 changed file
expand all
collapse all
unified
split
bin
update-recursive
+2
-2
bin/update-recursive
reviewed
···
9
9
# shellcheck disable=SC2034
10
10
FORCE=0 # TODO
11
11
12
12
-
NAME=$(basename "$0")
12
12
+
NAME=${0##*/}
13
13
VERSION="0.1.0"
14
14
API_URL="https://api.github.com"
15
15
REPO_OWNER="arrowtype"
···
75
75
err "Latest version is $rec_ver"
76
76
vf_file_name="Recursive_VF_${rec_ver}.ttf"
77
77
file_url=$(jq -r '.asset.download_url' <<< "$latest_release")
78
78
-
file_name=$(basename "$file_url")
78
78
+
file_name=${file_url##*/}
79
79
80
80
if [[ -f "${FONT_DIR}/${vf_file_name}" ]]; then
81
81
err "Latest Recursive font already installed"