yu
This commit is contained in:
parent
551476c9ef
commit
fa1fdce64b
1 changed files with 8 additions and 9 deletions
|
@ -1,9 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
=======================================================
|
=======================================================
|
||||||
Installing D's nux (you're gonna love my nux(really))
|
Installing D's nux (you're gonna love my nux(really))
|
||||||
=======================================================
|
=======================================================
|
||||||
"
|
"
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
if test -d Doors; then
|
if test -d Doors; then
|
||||||
rm -rf Doors
|
rm -rf Doors
|
||||||
|
@ -16,18 +18,15 @@ fi
|
||||||
OS=$NAME
|
OS=$NAME
|
||||||
|
|
||||||
if [[ $OS == *Arch* ]]; then
|
if [[ $OS == *Arch* ]]; then
|
||||||
|
cd &&
|
||||||
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 &&
|
||||||
|
git clone https://github.com/adoyle0/Doors.git:.doors &&
|
||||||
.doors/.scripts/doors/install_min_arch
|
.doors/.scripts/doors/install_min_arch
|
||||||
|
|
||||||
elif [[ $OS == *buntu* ]]; then
|
elif [[ $OS == *buntu* ]]; then
|
||||||
|
cd &&
|
||||||
sudo apt-get install git rsync &&
|
sudo apt-get install git rsync &&
|
||||||
.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 &&
|
|
||||||
mkdir .doors &&
|
|
||||||
rsync -avzP Doors/ .doors &&
|
|
||||||
rm -rf Doors &&
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue