18 lines
570 B
Plaintext
18 lines
570 B
Plaintext
# The Contents of this file will be running our setup command
|
|
|
|
# Run Template Setup Script
|
|
template_setup_path="/etc/template_setup"
|
|
template_setup_repo="https://git.deathbybandaid.net/deathbybandaid/template_setup.git"
|
|
|
|
template_setup ()
|
|
{
|
|
if [ -d "$template_setup_path" ] ; then
|
|
git -C $template_setup_path pull --quiet && echo "Pulled $template_setup_path"
|
|
else
|
|
git clone --quiet "$template_setup_repo" "$template_setup_path" && echo "Pulled $template_setup_path"
|
|
fi
|
|
bash /etc/template_setup/template_setup.sh
|
|
}
|
|
|
|
alias template-setup='template_setup'
|