Skip to content

Commit

Permalink
feat(chezmoiscripts-linux): add numi-cli install script
Browse files Browse the repository at this point in the history
  • Loading branch information
mimikun committed Feb 16, 2025
1 parent 05a8234 commit 3f1c691
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .chezmoiscripts/linux/run_onchange_after-download-numi-cli.sh.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{ if eq .chezmoi.os "linux" -}}

#!/bin/bash

bin_path="/usr/local/bin/numi-cli"

# /usr/local/bin/numi-cli check
if [[ ! -e "$bin_path" ]]; then
echo "Run numi-cli install script"
curl -sSL https://s.numi.app/cli | sh
else
echo "numi-cli is already installed."
fi

{{ end -}}

0 comments on commit 3f1c691

Please sign in to comment.