This commit is contained in:
deathbybandaid 2022-02-01 14:39:52 -05:00
parent 70080ae5ef
commit 94259b17b5

View File

@ -10,8 +10,10 @@ alias topgrade='$topgrade_path'
topgrade-conf-pull () topgrade-conf-pull ()
{ {
if [ -d "$topgrade_conf_path" ] ; then if [ -d "$topgrade_conf_path" ] ; then
echo "1"
git -C $topgrade_conf_path pull --quiet && echo "Pulled $topgrade_conf_path" git -C $topgrade_conf_path pull --quiet && echo "Pulled $topgrade_conf_path"
else else
echo "2"
git clone --quiet "$topgrade_conf_repo" "$topgrade_conf_path" git clone --quiet "$topgrade_conf_repo" "$topgrade_conf_path"
fi fi
} }