From ce3f9ec5d12c52105bdf8afd106192ebdc51dd0c Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 1 Feb 2022 15:31:26 -0500 Subject: [PATCH] revert topgrade --- topgrade.aliases | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/topgrade.aliases b/topgrade.aliases index d4f0847..b857db8 100644 --- a/topgrade.aliases +++ b/topgrade.aliases @@ -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 +#}