Fix ubuntu and rust extras
This commit is contained in:
parent
9c9947bb0a
commit
c5ec727836
2 changed files with 1 additions and 17 deletions
|
@ -12,9 +12,7 @@ elif [[ $(uname) == "Linux" ]]; then
|
||||||
sudo zypper install -y ansible
|
sudo zypper install -y ansible
|
||||||
sudo ln -sf /usr/bin/python3 /usr/bin/python
|
sudo ln -sf /usr/bin/python3 /usr/bin/python
|
||||||
elif [[ $(command -v apt) ]]; then
|
elif [[ $(command -v apt) ]]; then
|
||||||
sudo apt install -y ansible python3-apt
|
sudo apt install -y ansible python3-apt python-is-python3
|
||||||
# ubuntu doesn't create a /usr/bin/python, so we have to make one ourselves
|
|
||||||
ln -sf /usr/bin/python3 /usr/bin/python
|
|
||||||
elif [[ $(command -v dnf) ]]; then
|
elif [[ $(command -v dnf) ]]; then
|
||||||
sudo dnf install ansible -y
|
sudo dnf install ansible -y
|
||||||
elif [[ $(command -v emerge) ]]; then
|
elif [[ $(command -v emerge) ]]; then
|
||||||
|
|
|
@ -84,13 +84,6 @@
|
||||||
when:
|
when:
|
||||||
- rust_extras == true
|
- rust_extras == true
|
||||||
|
|
||||||
- name: Install blindfold
|
|
||||||
shell: ~/.cargo/bin/cargo install blindfold
|
|
||||||
args:
|
|
||||||
creates: ~/.cargo/bin/blindfold
|
|
||||||
when:
|
|
||||||
- rust_extras == true
|
|
||||||
|
|
||||||
- name: Install kondo
|
- name: Install kondo
|
||||||
shell: ~/.cargo/bin/cargo install kondo
|
shell: ~/.cargo/bin/cargo install kondo
|
||||||
args:
|
args:
|
||||||
|
@ -98,13 +91,6 @@
|
||||||
when:
|
when:
|
||||||
- rust_extras == true
|
- rust_extras == true
|
||||||
|
|
||||||
- name: Install silicon
|
|
||||||
shell: ~/.cargo/bin/cargo install silicon
|
|
||||||
args:
|
|
||||||
creates: ~/.cargo/bin/silicon
|
|
||||||
when:
|
|
||||||
- rust_extras == true
|
|
||||||
|
|
||||||
- name: Install zoxide
|
- name: Install zoxide
|
||||||
shell: ~/.cargo/bin/cargo install zoxide
|
shell: ~/.cargo/bin/cargo install zoxide
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Add table
Reference in a new issue