Merge pull request #360 from blusewill/main

Make ArchTitus able to use curl to install
This commit is contained in:
Chris Titus 2023-09-01 14:02:22 -05:00 committed by GitHub
commit 32a81bd31b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

22
scripts/curl-install.sh Executable file
View File

@ -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