Rename budget to chultun
This commit is contained in:
parent
2bf14948d7
commit
b529740ee3
1 changed files with 126 additions and 126 deletions
10
install.sh
10
install.sh
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
cd -- "$(dirname -- "$0")"
|
||||
CGO_ENABLED=0 go build -trimpath -o bin/budget ./cmd/budget
|
||||
install -Dm755 bin/budget "$HOME/.local/bin/.budget.new"
|
||||
mv "$HOME/.local/bin/.budget.new" "$HOME/.local/bin/budget"
|
||||
test -f "$HOME/.config/budget/profiles.toml" || install -Dm644 profiles.example.toml "$HOME/.config/budget/profiles.toml"
|
||||
"$HOME/.local/bin/budget" apply
|
||||
CGO_ENABLED=0 go build -trimpath -o bin/chultun ./cmd/chultun
|
||||
install -Dm755 bin/chultun "$HOME/.local/bin/.chultun.new"
|
||||
mv "$HOME/.local/bin/.chultun.new" "$HOME/.local/bin/chultun"
|
||||
test -f "$HOME/.config/chultun/profiles.toml" || install -Dm644 profiles.example.toml "$HOME/.config/chultun/profiles.toml"
|
||||
"$HOME/.local/bin/chultun" apply
|
||||
|
|
|
|||
Loading…
Reference in a new issue