This commit is contained in:
deathbybandaid 2022-02-01 15:12:20 -05:00
parent c58b0d7343
commit fa6742773b

View File

@ -14,21 +14,21 @@ topgrade ()
}
# 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
#}
# System Updates Only
sysup ()
{
if [ -f "$topgrade_path" ] ; then
"$topgrade_path" --config $topgrade_conf_path/systemonly.toml
else
echo "topgrade not found at $topgrade_path"
fi
}
#sysup ()
#{
# if [ -f "$topgrade_path" ] ; then
# "$topgrade_path" --config $topgrade_conf_path/systemonly.toml
# else
# echo "topgrade not found at $topgrade_path"
# fi
#}