Improve topgrade

This commit is contained in:
deathbybandaid 2022-02-01 15:07:57 -05:00
parent b0767c07fd
commit 9565ab7bb8

View File

@ -7,7 +7,7 @@ topgrade_conf_repo="https://git.deathbybandaid.net/deathbybandaid/topgrade.git"
topgrade ()
{
if [ -f "$topgrade_path" ] ; then
$topgrade_path
"$topgrade_path"
else
echo "topgrade not found at $topgrade_path"
fi
@ -24,4 +24,11 @@ topgrade-conf-pull ()
}
# System Updates Only
alias sysup='$topgrade_path --config $topgrade_conf_path/systemonly.toml'
sysup ()
{
if [ -f "$topgrade_path" ] ; then
"$topgrade_path" --config $topgrade_conf_path/systemonly.toml
else
echo "topgrade not found at $topgrade_path"
fi
}