Update curl-installation command

This commit is contained in:
blusewill 2023-08-31 20:35:56 +08:00
parent 508617df2e
commit d061cf97aa
2 changed files with 23 additions and 1 deletions

2
curl-installation.sh Executable file → Normal file
View File

@ -6,7 +6,7 @@ if [[ "$(basename "$(pwd)" | tr '[:upper:]' '[:lower:]')" =~ ^archtitus$ ]]; the
echo "Please use ./archtitus.sh instead"
fi
# Installing git
# Install git
echo "Installing git."
pacman -Sy --noconfirm --needed git glibc

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