File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,13 @@ GIT_BASE_DOMAIN="github.com"
47
47
NAME=" zaje"
48
48
HIGHLIGHT_REPO_NAME=" gohighlight"
49
49
GH_SPACE=" jessp01"
50
- LATEST_VER=$( curl -s " https://api.${GIT_BASE_DOMAIN} /repos/$GH_SPACE /$NAME /releases/latest" | grep tag_name| sed ' s@\s*"tag_name": "\(.*\)".*@\1@' )
50
+ LATEST_VER=$( curl -sL " https://api.${GIT_BASE_DOMAIN} /repos/$GH_SPACE /$NAME /releases/latest" | grep tag_name| sed ' s@\s*"tag_name": "\(.*\)".*@\1@' )
51
51
OS=$( uname)
52
52
ARCH=$( uname -m)
53
53
BIN_ARCHIVE=" zaje_${OS} _${ARCH} .tar.gz"
54
54
55
55
# we need this for the lexers
56
- LATEST_HIGHLIGHT_VER=$( curl -s " https://api.${GIT_BASE_DOMAIN} /repos/$GH_SPACE /$HIGHLIGHT_REPO_NAME /releases/latest" | grep tag_name| sed ' s@\s*"tag_name": "\(.*\)".*@\1@' )
56
+ LATEST_HIGHLIGHT_VER=$( curl -sL " https://api.${GIT_BASE_DOMAIN} /repos/$GH_SPACE /$HIGHLIGHT_REPO_NAME /releases/latest" | grep tag_name| sed ' s@\s*"tag_name": "\(.*\)".*@\1@' )
57
57
HIGHLIGHT_SOURCE_ARCHIVE=" ${LATEST_HIGHLIGHT_VER} .tar.gz"
58
58
59
59
CONFIG_DIR=" $HOME /.config/$NAME "
You can’t perform that action at this time.
0 commit comments