Warn if topgrade missing

This commit is contained in:
deathbybandaid 2022-02-01 15:01:36 -05:00
parent 4079a9848b
commit c04cf69d4b

View File

@ -6,6 +6,15 @@ topgrade_conf_repo="https://git.deathbybandaid.net/deathbybandaid/topgrade.git"
alias topgrade='$topgrade_path'
topgrade ()
{
if [ -f "$topgrade_path" ] ; then
$topgrade_path
else
echo "topgrade not found at $topgrade_path"
fi
}
# Use Configuration options from repo
topgrade-conf-pull ()
{