install.sh: Updates
This commit is contained in:
parent
70587d5832
commit
44ba6ecce4
4 changed files with 5 additions and 5 deletions
|
|
@ -497,7 +497,7 @@ fetch_release_info() {
|
|||
else
|
||||
release_info_url="https://api.github.com/repos/$REPO/releases/tags/$VERSION"
|
||||
fi
|
||||
fetch_gh "$release_info_url" "$RELEASE_INFO" \
|
||||
DRY_RUN= fetch_gh "$release_info_url" "$RELEASE_INFO" \
|
||||
'application/json'
|
||||
VERSION=$(cat "$RELEASE_INFO" | grep -m1 tag_name | sed 's/^.*: "\(.*\)",$/\1/g')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ temp_exittrap() {
|
|||
temppath() {
|
||||
ensure_tmpdir
|
||||
while true; do
|
||||
temppath=$_TMPDIR/$(</dev/urandom head -c8 | base64)
|
||||
temppath=$_TMPDIR/$(</dev/urandom head -c8 | base32)
|
||||
if [ ! -e "$temppath" ]; then
|
||||
echo "$temppath"
|
||||
return
|
||||
|
|
|
|||
2
ci/sub
2
ci/sub
|
|
@ -1 +1 @@
|
|||
Subproject commit 4c26167bafbb6b4d038004c7e7666b2533a882d3
|
||||
Subproject commit 66692a2f312d37a41de6b505842637f644a65eb1
|
||||
|
|
@ -70,7 +70,7 @@ temp_exittrap() {
|
|||
temppath() {
|
||||
ensure_tmpdir
|
||||
while true; do
|
||||
temppath=$_TMPDIR/$(</dev/urandom head -c8 | base64)
|
||||
temppath=$_TMPDIR/$(</dev/urandom head -c8 | base32)
|
||||
if [ ! -e "$temppath" ]; then
|
||||
echo "$temppath"
|
||||
return
|
||||
|
|
@ -1079,7 +1079,7 @@ fetch_release_info() {
|
|||
else
|
||||
release_info_url="https://api.github.com/repos/$REPO/releases/tags/$VERSION"
|
||||
fi
|
||||
fetch_gh "$release_info_url" "$RELEASE_INFO" \
|
||||
DRY_RUN= fetch_gh "$release_info_url" "$RELEASE_INFO" \
|
||||
'application/json'
|
||||
VERSION=$(cat "$RELEASE_INFO" | grep -m1 tag_name | sed 's/^.*: "\(.*\)",$/\1/g')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue