update topgrade

This commit is contained in:
deathbybandaid 2022-02-01 15:30:07 -05:00
parent 17ee10406b
commit a9c42ef2fa

View File

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