ArchTitus/scripts/curl-install.sh

23 lines
482 B
Bash
Executable File

#!/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/ArcExp/Installer
echo "Executing ArchTitus Script"
cd Installer/
exec ./archtitus.sh