test
This commit is contained in:
parent
ce048f4eb7
commit
b2b93be8c8
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
# Run Topgrade without parameters, equivalent of being installed to PATH
|
# Run Topgrade without parameters, equivalent of being installed to PATH
|
||||||
topgrade_path="/opt/topgrade/topgrade"
|
TOPGRADE_PATH="/opt/topgrade/topgrade"
|
||||||
topgrade_conf_path="/etc/topgrade"
|
topgrade_conf_path="/etc/topgrade"
|
||||||
topgrade_conf_repo="https://git.deathbybandaid.net/deathbybandaid/topgrade.git"
|
topgrade_conf_repo="https://git.deathbybandaid.net/deathbybandaid/topgrade.git"
|
||||||
|
|
||||||
@ -15,29 +15,29 @@ topgrade_conf_pull ()
|
|||||||
}
|
}
|
||||||
alias topgrade-conf-pull='topgrade_conf_pull'
|
alias topgrade-conf-pull='topgrade_conf_pull'
|
||||||
|
|
||||||
#alias topgrade='$topgrade_path'
|
#alias topgrade='$TOPGRADE_PATH'
|
||||||
|
|
||||||
# System Updates Only
|
# System Updates Only
|
||||||
alias sysup='$topgrade_path --config $topgrade_conf_path/systemonly.toml'
|
alias sysup='$TOPGRADE_PATH --config $topgrade_conf_path/systemonly.toml'
|
||||||
|
|
||||||
# Template Repos
|
# Template Repos
|
||||||
alias templategitup='$topgrade_path --config $topgrade_conf_path/template_git.toml'
|
alias templategitup='$TOPGRADE_PATH --config $topgrade_conf_path/template_git.toml'
|
||||||
|
|
||||||
topgrade ()
|
topgrade ()
|
||||||
{
|
{
|
||||||
if [[ -f "$topgrade_path" ]] ; then
|
if [[ -f "$TOPGRADE_PATH" ]] ; then
|
||||||
$topgrade_path
|
$TOPGRADE_PATH
|
||||||
else
|
else
|
||||||
echo "topgrade not found at $topgrade_path"
|
echo "topgrade not found at $TOPGRADE_PATH"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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
|
||||||
#}
|
#}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user