update PATH so that webi can work

This commit is contained in:
AJ ONeal
2020-06-13 16:06:28 -06:00
parent 4852a36f9f
commit 13d2ca88fc

View File

@@ -21,7 +21,14 @@
# ```
if [ -f "$HOME/.local/bin/webi" ]; then
set +e
cur_webi="$(command -v webi)"
set -e
if [ -z "$cur_webi" ]; then
web_add_path "$HOME/.local/bin"
fi
echo "Installed 'webi'"
else
# for when this file is run on its own, not from webinstall.dev
echo "Install any other package via https://webinstall.dev and webi will be installed as part of the bootstrap process"
fi