doin it live
This commit is contained in:
parent
a69514931e
commit
551476c9ef
1 changed files with 14 additions and 9 deletions
|
@ -4,24 +4,29 @@ echo "
|
||||||
Installing D's nux (you're gonna love my nux(really))
|
Installing D's nux (you're gonna love my nux(really))
|
||||||
=======================================================
|
=======================================================
|
||||||
"
|
"
|
||||||
. /etc/os-release
|
# Clean up
|
||||||
OS=$NAME
|
|
||||||
|
|
||||||
if test -d Doors; then
|
if test -d Doors; then
|
||||||
rm -rf Doors
|
rm -rf Doors
|
||||||
|
elif test -d .doors; then
|
||||||
|
rm -rf .doors
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Bootstrap into distro scripts
|
||||||
|
. /etc/os-release
|
||||||
|
OS=$NAME
|
||||||
|
|
||||||
if [[ $OS == *Arch* ]]; then
|
if [[ $OS == *Arch* ]]; then
|
||||||
sudo sed '/Color/s/^#//' -i /etc/pacman.conf &&
|
sudo sed '/Color/s/^#//' -i /etc/pacman.conf &&
|
||||||
sudo pacman -S --needed --noconfirm git rsync base-devel &&
|
sudo pacman -S --needed --noconfirm git rsync base-devel &&
|
||||||
.doors/.scripts/doors/install_min_arch
|
.doors/.scripts/doors/install_min_arch
|
||||||
|
|
||||||
elif [[ $OS == *buntu* ]]; then
|
elif [[ $OS == *buntu* ]]; then
|
||||||
# Base
|
sudo apt-get install git rsync &&
|
||||||
sudo apt-get install git rsync btop neovim byobu zsh nnn
|
|
||||||
.doors/.scripts/doors/install_min_ubuntu
|
.doors/.scripts/doors/install_min_ubuntu
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Do the rest
|
||||||
git clone https://github.com/adoyle0/Doors.git &&
|
git clone https://github.com/adoyle0/Doors.git &&
|
||||||
mkdir .doors &&
|
mkdir .doors &&
|
||||||
rsync -avzP Doors/ .doors &&
|
rsync -avzP Doors/ .doors &&
|
||||||
|
|
Loading…
Add table
Reference in a new issue