diff --git a/install.sh b/install.sh index 1fd60e3..c9f1d03 100755 --- a/install.sh +++ b/install.sh @@ -51,11 +51,11 @@ echo -e "${WHITE} [0] Exit " echo -e "${COLOR}┌──($USER㉿$HOST)-[$(pwd)]" choice=$1 -if [[ $choice =~ ^[1-2]+$ ]]; then +echo "choice is $choice" +if [[ ! $choice =~ ^[1-2]+$ ]]; then read -p "└─$>>" choice fi - # Define installation directories install_dir="/usr/share/hackingtool" bin_dir="/usr/bin"