24 lines
488 B
Bash
Executable File
24 lines
488 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Checking if is running in Repo Folder
|
|
if [[ "$(basename "$(pwd)" | tr '[:upper:]' '[:lower:]')" =~ ^archtitus$ ]]; then
|
|
echo "You are running this in ArchTitus Folder."
|
|
echo "Please use ./archtitus.sh instead"
|
|
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 ArchTitus
|
|
|
|
source archtitus.sh
|
|
|
|
exit
|