Nicer output when skipping installs

This commit is contained in:
crater2150 2020-04-02 10:43:50 +02:00
parent 6c937fe5d0
commit b1b6b52fc8
2 changed files with 4 additions and 1 deletions

View file

@ -42,7 +42,7 @@ for prog in $@; do
fi
done
if [[ -e $install_path/${prog:t} && ! $force ]]; then
error "$prog already exists at $install_path. Skipping."
warning "$prog already exists at $install_path. Skipping."
else
ln -fsr $prog $install_path
fi