update topgrade

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

View File

@ -18,7 +18,7 @@ topgrade ()
{ {
echo "test" echo "test"
if [ -f "$topgrade_path" ] ; then if [ -f "$topgrade_path" ] ; then
"$topgrade_path" $topgrade_path
else else
echo "topgrade not found at $topgrade_path" echo "topgrade not found at $topgrade_path"
fi fi
@ -28,7 +28,7 @@ topgrade ()
sysup () sysup ()
{ {
if [ -f "$topgrade_path" ] ; then if [ -f "$topgrade_path" ] ; then
"$topgrade_path" --config $topgrade_conf_path/systemonly.toml $topgrade_path --config $topgrade_conf_path/systemonly.toml
else else
echo "topgrade not found at $topgrade_path" echo "topgrade not found at $topgrade_path"
fi fi