diff --git a/topgrade.aliases b/topgrade.aliases index dfc51d1..bd3aa60 100644 --- a/topgrade.aliases +++ b/topgrade.aliases @@ -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 +}