This commit is contained in:
Rodolfo 2024-07-02 15:33:15 +08:00
parent b9876c9579
commit 9d81e3fbd2

View file

@ -18,7 +18,7 @@ fi
script_PATH=$(pwd) script_PATH=$(pwd)
if [[ -d /etc/apt ]]; then if [[ -d /bin/apt ]]; then
while true; do while true; do
read -p "Are you using a Debian? (y/n)" answer read -p "Are you using a Debian? (y/n)" answer
if [[ "${answer,,}" == "y" ]]; then if [[ "${answer,,}" == "y" ]]; then
@ -31,7 +31,7 @@ if [[ -d /etc/apt ]]; then
echo "Invalid input 'y/n'" echo "Invalid input 'y/n'"
fi fi
done done
elif [[ -d /etc/pacman ]]; then elif [[ -d /bin/pacman ]]; then
while true; do while true; do
read -p "Are you using a Arch? (y/n)" answer read -p "Are you using a Arch? (y/n)" answer
if [[ "${answer,,}" == "y" ]]; then if [[ "${answer,,}" == "y" ]]; then