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
}
topgrade ()
{
echo "test"
if [ -f "$topgrade_path" ] ; then
$topgrade_path
else
echo "topgrade not found at $topgrade_path"
fi
}
alias topgrade='$topgrade_path'
# 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
}
alias sysup='$topgrade_path --config $topgrade_conf_path/systemonly.toml'
#topgrade ()
#{
#if [ -f "$topgrade_path" ] ; then
# "$topgrade_path"
#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
#}