Skip to content

Commit 1236a91

Browse files
committed
curl silent
1 parent 7eeaf3e commit 1236a91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
set -e
77

88
main() {
9-
LATEST_VERSION=$(curl -s https://api.github.com/repos/claceio/clace/releases/latest | grep tag_name | cut -d '"' -f 4)
9+
LATEST_VERSION=$(curl -sS https://api.github.com/repos/claceio/clace/releases/latest | grep tag_name | cut -d '"' -f 4)
1010
os=$(uname -s | tr '[:upper:]' '[:lower:]')
1111
arch=$(uname -m)
1212

@@ -34,7 +34,7 @@ main() {
3434
# extract to tmp dir so we don't open existing executable file for writing
3535
tar -C "$tmp_dir" -xzf "$tmp_dir/clace.tar.gz"
3636
chmod +x "$tmp_dir/${target}/clace"
37-
mv "$tmp_dir/${target}/clace" "$exe"
37+
mv -f "$tmp_dir/${target}/clace" "$exe"
3838
rm -f "$tmp_dir/clace.tar.gz"
3939

4040
if test ! -s $clace_install/clace.toml; then

0 commit comments

Comments
 (0)