1
0
mirror of https://github.com/Z4nzu/hackingtool.git synced 2025-06-20 06:15:54 +02:00

choice=$1

This commit is contained in:
Christian Clauss
2023-07-18 10:10:44 +02:00
committed by GitHub
parent e6f0e39f77
commit 90eb7f2980

View File

@ -50,7 +50,10 @@ echo -e "${WHITE} [2] Arch Linux (pacman)" # added arch linux suppo
echo -e "${WHITE} [0] Exit "
echo -e "${COLOR}┌──($USER$HOST)-[$(pwd)]"
read -p "└─$>>" choice
choice=$1
if [[ $choice =~ ^[1-2]+$ ]]; then
read -p "└─$>>" choice
fi
# Define installation directories