test
This commit is contained in:
parent
c58b0d7343
commit
fa6742773b
@ -14,21 +14,21 @@ topgrade ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Use Configuration options from repo
|
# Use Configuration options from repo
|
||||||
topgrade-conf-pull ()
|
#topgrade-conf-pull ()
|
||||||
{
|
#{
|
||||||
if [ -d "$topgrade_conf_path" ] ; then
|
# if [ -d "$topgrade_conf_path" ] ; then
|
||||||
git -C $topgrade_conf_path pull --quiet && echo "Pulled $topgrade_conf_path"
|
# git -C $topgrade_conf_path pull --quiet && echo "Pulled $topgrade_conf_path"
|
||||||
else
|
# else
|
||||||
git clone --quiet "$topgrade_conf_repo" "$topgrade_conf_path" && echo "Pulled $topgrade_conf_path"
|
# git clone --quiet "$topgrade_conf_repo" "$topgrade_conf_path" && echo "Pulled $topgrade_conf_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