diff options
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..78e277b --- /dev/null +++ b/install.sh @@ -0,0 +1,12 @@ +#!/bin/bash +refresh_butckrepo() { + if command -v butckrepo-refresh &> /dev/null; then + butckrepo-refresh + else + cargo run --bin butckrepo-refresh + fi +} + +cd "$(dirname "$0")" +refresh_butckrepo +cargo install --path ./ |
