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