Doors/.scripts/doors/setup
2023-02-03 04:26:50 -05:00

29 lines
688 B
Bash
Executable file

#!/bin/bash
echo "
=======================================================
Installing D's nux (you're gonna love my nux(really))
=======================================================
"
. /etc/os-release
OS=$NAME
if [[ $OS == *Arch* ]]; then
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 &&
mkdir .doors &&
rsync -avzP Doors/ .doors &&
rmdir Doors &&
.scripts/doors/install_min_arch
elif [[ $OS == *buntu* ]]; then
.scripts/doors/install_min_ubuntu
fi
echo "
========================
logout and log back in
========================
plz
";