diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-07-20 22:39:07 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-07-20 22:39:07 +0100 |
| commit | ffa08735aee2d69e17bce5c29a7ef96cc7e2233f (patch) | |
| tree | 5a349a5e1bdb2abcf55098259a14f7055bb197ff /install.sh | |
| parent | c3a55debe9e4194f83164d412293f27b797627af (diff) | |
Update install.sh
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,8 @@ #!/bin/sh -makepkg -sudo pacman -U dotfiles-installer*.pkg.tar*
\ No newline at end of file +if ! [ rustc --version > /dev/null 2>&1 ]; then + sudo pacman -S rustup || exit $? + rustup default stable || exit $? +fi +makepkg -f || exit $? +sudo pacman -U dotfiles-installer*.pkg.tar* |
