mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2026-02-07 21:24:24 +01:00
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)
This commit is contained in:
committed by
Nicolas Dorier
parent
caacaa9f6f
commit
4e766e6fd0
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user