From 9565ab7bb839518690ebae938953bce9ea26ad95 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 1 Feb 2022 15:07:57 -0500 Subject: [PATCH] Improve topgrade --- topgrade.aliases | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 +}