This commit is contained in:
Rodolfo 2024-07-02 15:26:29 +08:00
parent 4edb677eee
commit b9876c9579

View file

@ -22,7 +22,7 @@ if [[ -d /etc/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
bash script_PATH/debiansetup.sh bash $script_PATH/debiansetup.sh
break break
elif [[ "${answer,,}" == "n" ]]; then elif [[ "${answer,,}" == "n" ]]; then
echo "Use a compatible system (Debian/Arch)" echo "Use a compatible system (Debian/Arch)"
@ -46,7 +46,7 @@ elif [[ -d /etc/pacman ]]; then
git clone https://gitea.barcelli.net/rodolfo/arch-automated-installer /home/$(whoami)/Repos/arch-automated-installer git clone https://gitea.barcelli.net/rodolfo/arch-automated-installer /home/$(whoami)/Repos/arch-automated-installer
cd /home/$(whoami)/Repos/arch-automated-installer cd /home/$(whoami)/Repos/arch-automated-installer
fi fi
bash script_PATH/archsetup.sh bash $script_PATH/archsetup.sh
break break
elif [[ "${answer,,}" == "n" ]]; then elif [[ "${answer,,}" == "n" ]]; then
echo "Use a compatible system (Debian/Arch)" echo "Use a compatible system (Debian/Arch)"