From fa1fdce64b2ef047c8be69ed2ad680eb57a738c6 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Fri, 3 Feb 2023 05:58:10 -0500 Subject: [PATCH] yu --- .scripts/doors/setup | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.scripts/doors/setup b/.scripts/doors/setup index 3b0c3fa..810e55a 100755 --- a/.scripts/doors/setup +++ b/.scripts/doors/setup @@ -1,9 +1,11 @@ #!/bin/bash + echo " ======================================================= Installing D's nux (you're gonna love my nux(really)) ======================================================= " + # Clean up if test -d Doors; then rm -rf Doors @@ -16,18 +18,15 @@ fi OS=$NAME if [[ $OS == *Arch* ]]; then - sudo sed '/Color/s/^#//' -i /etc/pacman.conf && + cd && + sudo sed '/Color/s/^#//' -i /etc/pacman.conf && sudo pacman -S --needed --noconfirm git rsync base-devel && + git clone https://github.com/adoyle0/Doors.git:.doors && .doors/.scripts/doors/install_min_arch elif [[ $OS == *buntu* ]]; then - sudo apt-get install git rsync && - .doors/.scripts/doors/install_min_ubuntu + cd && + sudo apt-get install git rsync && + .doors/.scripts/doors/install_min_ubuntu fi - -# Do the rest -git clone https://github.com/adoyle0/Doors.git && - mkdir .doors && - rsync -avzP Doors/ .doors && - rm -rf Doors &&