update nvm
This commit is contained in:
parent
5af1adf6d1
commit
203725bf1f
32
init_root.sh
32
init_root.sh
@ -255,7 +255,7 @@ configure_git() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
configure_nodejs() {
|
configure_nodejs() {
|
||||||
[ -d ~/.nvm ] && return
|
[ -d ~/.nvm/.git ] && return
|
||||||
|
|
||||||
read -p "要安装 nodejs 吗?[N]: " response
|
read -p "要安装 nodejs 吗?[N]: " response
|
||||||
|
|
||||||
@ -277,20 +277,20 @@ configure_docker() {
|
|||||||
|
|
||||||
check_google_access
|
check_google_access
|
||||||
update_files
|
update_files
|
||||||
# configure_ssh
|
configure_ssh
|
||||||
# configure_ssh_keygen
|
configure_ssh_keygen
|
||||||
# configure_nano
|
configure_nano
|
||||||
# configure_vim
|
configure_vim
|
||||||
# configure_tuna
|
configure_tuna
|
||||||
# configure_apt_upgrade
|
configure_apt_upgrade
|
||||||
# configure_install
|
configure_install
|
||||||
# configure_zsh
|
configure_zsh
|
||||||
# configure_tmux
|
configure_tmux
|
||||||
# configure_iptables
|
configure_iptables
|
||||||
# configure_hostname
|
configure_hostname
|
||||||
# configure_timedate
|
configure_timedate
|
||||||
# configure_fail2ban
|
configure_fail2ban
|
||||||
# configure_miniconda
|
configure_miniconda
|
||||||
# configure_git
|
configure_git
|
||||||
configure_nodejs
|
configure_nodejs
|
||||||
# configure_docker
|
# configure_docker
|
||||||
|
|||||||
@ -260,7 +260,7 @@ configure_git() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
configure_nodejs() {
|
configure_nodejs() {
|
||||||
[ -d ~/.nvm ] && return
|
[ -d ~/.nvm/.git ] && return
|
||||||
|
|
||||||
read -p "要安装 nodejs 吗?[N]: " response
|
read -p "要安装 nodejs 吗?[N]: " response
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user