revert topgrade

This commit is contained in:
deathbybandaid 2022-02-01 15:31:26 -05:00
parent 2771b413e2
commit ce3f9ec5d1

View File

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