This commit is contained in:
deathbybandaid 2022-03-08 10:23:32 -05:00
parent 3da938aa5c
commit 3d9b93d250

View File

@ -15,14 +15,6 @@ topgrade_conf_pull ()
} }
alias topgrade-conf-pull='topgrade_conf_pull' alias topgrade-conf-pull='topgrade_conf_pull'
#alias topgrade='$TOPGRADE_PATH'
# System Updates Only
alias sysup='$TOPGRADE_PATH --config $TOPGRADE_CONF_PATH/systemonly.toml'
# Template Repos
alias templategitup='$TOPGRADE_PATH --config $TOPGRADE_CONF_PATH/template_git.toml'
topgrade () topgrade ()
{ {
if [[ -f "$TOPGRADE_PATH" ]] ; then if [[ -f "$TOPGRADE_PATH" ]] ; then
@ -33,11 +25,22 @@ topgrade ()
} }
# System Updates Only # System Updates Only
#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
#} }
# templategitup Updates Only
templategitup ()
{
if [[ -f "$TOPGRADE_PATH" ]] ; then
$TOPGRADE_PATH --config $TOPGRADE_CONF_PATH/template_git.toml
else
echo "topgrade not found at $TOPGRADE_PATH"
fi
}