We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eeaf3e commit 1236a91Copy full SHA for 1236a91
static/install.sh
@@ -6,7 +6,7 @@
6
set -e
7
8
main() {
9
- LATEST_VERSION=$(curl -s https://api.github.com/repos/claceio/clace/releases/latest | grep tag_name | cut -d '"' -f 4)
+ LATEST_VERSION=$(curl -sS https://api.github.com/repos/claceio/clace/releases/latest | grep tag_name | cut -d '"' -f 4)
10
os=$(uname -s | tr '[:upper:]' '[:lower:]')
11
arch=$(uname -m)
12
@@ -34,7 +34,7 @@ main() {
34
# extract to tmp dir so we don't open existing executable file for writing
35
tar -C "$tmp_dir" -xzf "$tmp_dir/clace.tar.gz"
36
chmod +x "$tmp_dir/${target}/clace"
37
- mv "$tmp_dir/${target}/clace" "$exe"
+ mv -f "$tmp_dir/${target}/clace" "$exe"
38
rm -f "$tmp_dir/clace.tar.gz"
39
40
if test ! -s $clace_install/clace.toml; then
0 commit comments