feat: install pyenv
This commit is contained in:
parent
42e6544bf4
commit
d90f7cf08a
10
install.bash
10
install.bash
@ -171,11 +171,11 @@ install-from-pkg-mngr() {
|
||||
|
||||
install-pyenv() {
|
||||
local install_path="${1}/pyenv"
|
||||
git clone https://github.com/pyenv/pyenv.git "${install_path}"
|
||||
git clone https://github.com/pyenv/pyenv.git "${install_path}" || return 1
|
||||
(
|
||||
cd "${install_path}/pyenv"
|
||||
src/configure && make -C src
|
||||
)
|
||||
) || return 1
|
||||
}
|
||||
|
||||
deploy-config() {
|
||||
@ -258,6 +258,12 @@ main() {
|
||||
log "info" "Finished installing Cargo programs"
|
||||
print-break
|
||||
|
||||
log "info" "Installing ${GREEN}Pyenv${RESET_BOLD}"
|
||||
if ! install-pyenv "${DEPS_PATH}"; then
|
||||
log "info" "Failed to install ${GREEN}Pyenv${RESET_BOLD}"
|
||||
fi
|
||||
log "info"
|
||||
|
||||
log "info" "Install ${GREEN}Oh My ZSH${RESET_BOLD}"
|
||||
install-omz "${DEPS_PATH}"
|
||||
log "info" "Finished installing ${GREEN}Oh My ZSH${RESET_BOLD}"
|
||||
|
Loading…
Reference in New Issue
Block a user