diff --git a/Menus/Software.sh b/Menus/Software.sh index b67a020..5c1ddc9 100644 --- a/Menus/Software.sh +++ b/Menus/Software.sh @@ -89,7 +89,7 @@ if [[ ! $pick_x =~ [Nn] ]];then fi if [[ ! $pick_docker =~ [Nn] ]];then - if [[ ${pkg} =~ '^apt' || ${pkg} =~ '^apt-get' ]];then + if [[ ${pkg} == 'apt' || ${pkg} == 'apt-get' ]];then sudo ${pkg} update sudo ${pkg} install ca-certificates curl -y sudo install -m 0755 -d /etc/apt/keyrings @@ -104,7 +104,6 @@ if [[ ! $pick_docker =~ [Nn] ]];then fi fi - 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 while [[ ! -d "$HOME/.oh-my-zsh" ]]; do