Fix up the ubuntu branch of launch
This commit is contained in:
parent
4c5a65d1f2
commit
15fdaf8ab8
2 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ elif [[ $(uname) == "Linux" ]]; then
|
||||||
elif [[ $(command -v apt) ]]; then
|
elif [[ $(command -v apt) ]]; then
|
||||||
sudo apt install -y ansible python3-apt
|
sudo apt install -y ansible python3-apt
|
||||||
# ubuntu doesn't create a /usr/bin/python, so we have to make one ourselves
|
# ubuntu doesn't create a /usr/bin/python, so we have to make one ourselves
|
||||||
ln -s /usr/bin/python3 /usr/bin/python
|
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
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -45,9 +45,9 @@
|
||||||
creates: ~/.anyenv/envs/exenv
|
creates: ~/.anyenv/envs/exenv
|
||||||
|
|
||||||
- name: anyenv plugin dir
|
- name: anyenv plugin dir
|
||||||
shell: mkdir ~/.anyenv/plugins
|
file:
|
||||||
args:
|
path: ~/.anyenv/plugins
|
||||||
creates: ~/.anyenv/plugins
|
state: directory
|
||||||
|
|
||||||
- name: anyenv update plugin
|
- name: anyenv update plugin
|
||||||
shell: git clone https://github.com/znz/anyenv-update.git ~/.anyenv/plugins/anyenv-update
|
shell: git clone https://github.com/znz/anyenv-update.git ~/.anyenv/plugins/anyenv-update
|
||||||
|
|
Loading…
Add table
Reference in a new issue