Browse Source

Moved symlinks to binaries to /usr/local/bin as /usr/bin is protected on Mac OS and meant for OS supplied binaries only (all OSes) (#148)

feature/more-args
Wouter Samaey 5 years ago
committed by Nicolas Dorier
parent
commit
4e766e6fd0
  1. 4
      helpers.sh

4
helpers.sh

@ -36,8 +36,8 @@ install_tooling() {
if [ -e "$scriptname" ]; then
if [ "$dependency" == "*" ] || grep -q "$dependency" "$BTCPAY_DOCKER_COMPOSE"; then
chmod +x $scriptname
ln -s "$(pwd)/$scriptname" /usr/bin
echo "Installed $scriptname to /usr/bin: $comment"
ln -s "$(pwd)/$scriptname" /usr/local/bin
echo "Installed $scriptname to /usr/local/bin: $comment"
fi
else
echo "WARNING: Script $scriptname referenced, but not existing"

Loading…
Cancel
Save