Update curl-installation command
This commit is contained in:
parent
508617df2e
commit
d061cf97aa
|
|
@ -6,7 +6,7 @@ if [[ "$(basename "$(pwd)" | tr '[:upper:]' '[:lower:]')" =~ ^archtitus$ ]]; the
|
||||||
echo "Please use ./archtitus.sh instead"
|
echo "Please use ./archtitus.sh instead"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Installing git
|
# Install git
|
||||||
|
|
||||||
echo "Installing git."
|
echo "Installing git."
|
||||||
pacman -Sy --noconfirm --needed git glibc
|
pacman -Sy --noconfirm --needed git glibc
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Checking if is running in Repo Folder
|
||||||
|
if [[ "$(basename "$(pwd)" | tr '[:upper:]' '[:lower:]')" =~ ^scripts$ ]]; then
|
||||||
|
echo "You are running this in ArchTitus Folder."
|
||||||
|
echo "Please use ./archtitus.sh instead"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Installing git
|
||||||
|
|
||||||
|
echo "Installing git."
|
||||||
|
pacman -Sy --noconfirm --needed git glibc
|
||||||
|
|
||||||
|
echo "Cloning the ArchTitus Project"
|
||||||
|
git clone https://github.com/christitustech/ArchTitus
|
||||||
|
|
||||||
|
echo "Executing ArchTitus Script"
|
||||||
|
|
||||||
|
cd $HOME/ArchTitus
|
||||||
|
|
||||||
|
exec ./archtitus.sh
|
||||||
Loading…
Reference in New Issue