install - warn if bindir is not in PATH

master
Gilles Grandou 1 year ago
parent da0b56e674
commit 679b94b11e
  1. 8
      install

@ -66,6 +66,14 @@ while [ $# -gt 0 ]; do
shift
done
bin_dir=$(realpath $bin_dir)
config_dir=$(realpath $config_dir)
if [[ ":$PATH:" != *":$bin_dir:"* ]]; then
echo "WARNING: $bin_dir is not in your PATH, runon will not be automatically found."
echo
fi
set -e
if [ "$op" = "install" ]; then

Loading…
Cancel
Save