From a9a9056fd2a10d11415fd56d70633cb638467d5f Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Sat, 30 Dec 2023 19:50:42 -0500 Subject: [PATCH] handle unsupported distro --- setup | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/setup b/setup index 246546b..d2f6821 100755 --- a/setup +++ b/setup @@ -41,17 +41,22 @@ if [[ $OS == *Arch* ]]; then $HOME/.doors/scripts/install_arch -elif [[ $OS == *buntu* ]]; then - cd - sudo apt-get -y install git rsync - git clone https://github.com/adoyle0/Doors.git .doors - $HOME/.doors/scripts/install_min_ubuntu +# These are broken for now +# elif [[ $OS == *buntu* ]]; then +# cd +# sudo apt-get -y install git rsync +# git clone https://github.com/adoyle0/Doors.git .doors +# $HOME/.doors/scripts/install_min_ubuntu +# +# elif [[ $OS == *Fedora* ]]; then +# cd +# sudo dnf install -y git rsync +# git clone https://github.com/adoyle0/Doors.git .doors +# $HOME/.doors/scripts/install_min_fedora -elif [[ $OS == *Fedora* ]]; then - cd - sudo dnf install -y git rsync - git clone https://github.com/adoyle0/Doors.git .doors - $HOME/.doors/scripts/install_min_fedora +else + echo "$OS is not supported by this script at this time." + exit 1 fi # Init and update awesome widgets submodule