This commit is contained in:
deathbybandaid 2022-02-01 15:15:59 -05:00
parent 4ef9e27669
commit 0bec94c5f2

View File

@ -5,14 +5,14 @@ topgrade_conf_path="/etc/topgrade"
topgrade_conf_repo="https://git.deathbybandaid.net/deathbybandaid/topgrade.git"
# Use Configuration options from repo
#topgrade-conf-pull ()
#{
# if [ -d "$topgrade_conf_path" ] ; then
# git -C $topgrade_conf_path pull --quiet && echo "Pulled $topgrade_conf_path"
# else
# git clone --quiet "$topgrade_conf_repo" "$topgrade_conf_path" && echo "Pulled $topgrade_conf_path"
# fi
#}
topgrade-conf-pull ()
{
if [ -d "$topgrade_conf_path" ] ; then
git -C $topgrade_conf_path pull --quiet && echo "Pulled $topgrade_conf_path"
else
git clone --quiet "$topgrade_conf_repo" "$topgrade_conf_path" && echo "Pulled $topgrade_conf_path"
fi
}
#topgrade ()
#{