Compare commits
2 Commits
6d9b7b7c2b
...
17f91117e1
Author | SHA1 | Date | |
---|---|---|---|
17f91117e1 | |||
c61c8bd0ec |
@ -57,7 +57,6 @@ if [[ ! $pick_docker =~ [Nn] ]];then
|
|||||||
docker_imgs['阿里云']='https://mirrors.aliyun.com/docker-ce'
|
docker_imgs['阿里云']='https://mirrors.aliyun.com/docker-ce'
|
||||||
docker_imgs['网易云']='https://mirrors.163.com/docker-ce'
|
docker_imgs['网易云']='https://mirrors.163.com/docker-ce'
|
||||||
|
|
||||||
|
|
||||||
declare -a docker_img_number
|
declare -a docker_img_number
|
||||||
declare docker_img_number_pick=0
|
declare docker_img_number_pick=0
|
||||||
|
|
||||||
@ -89,7 +88,7 @@ if [[ ! $pick_x =~ [Nn] ]];then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! $pick_docker =~ [Nn] ]];then
|
if [[ ! $pick_docker =~ [Nn] ]];then
|
||||||
if [[ ${pkg} =~ '^apt' || ${pkg} =~ '^apt-get' ]];then
|
if [[ ${pkg} == 'apt' || ${pkg} == 'apt-get' ]];then
|
||||||
sudo ${pkg} update
|
sudo ${pkg} update
|
||||||
sudo ${pkg} install ca-certificates curl -y
|
sudo ${pkg} install ca-certificates curl -y
|
||||||
sudo install -m 0755 -d /etc/apt/keyrings
|
sudo install -m 0755 -d /etc/apt/keyrings
|
||||||
@ -104,7 +103,6 @@ if [[ ! $pick_docker =~ [Nn] ]];then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [[ ! $pick_zsh =~ [Nn] ]];then
|
if [[ ! $pick_zsh =~ [Nn] ]];then
|
||||||
curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sed 's/read -r opt//g'| sed 's/exec zsh -l//g'| sh
|
curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sed 's/read -r opt//g'| sed 's/exec zsh -l//g'| sh
|
||||||
while [[ ! -d "$HOME/.oh-my-zsh" ]]; do
|
while [[ ! -d "$HOME/.oh-my-zsh" ]]; do
|
||||||
|
Loading…
Reference in New Issue
Block a user