install - warn if bindir is not in PATH

This commit is contained in:
Gilles Grandou 2021-05-01 16:23:56 +02:00
parent da0b56e674
commit 679b94b11e

View File

@ -66,6 +66,14 @@ while [ $# -gt 0 ]; do
shift shift
done 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 set -e
if [ "$op" = "install" ]; then if [ "$op" = "install" ]; then