Improve topgrade
This commit is contained in:
parent
b0767c07fd
commit
9565ab7bb8
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user