Merge pull request #360 from blusewill/main
Make ArchTitus able to use curl to install
This commit is contained in:
commit
32a81bd31b
|
@ -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