Browse Source
Do not specific tooling if the docker compose does not exists
feature/more-args
nicolas.dorier
6 years ago
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
1 changed files with
1 additions and
1 deletions
-
helpers.sh
|
|
@ -34,7 +34,7 @@ install_tooling() { |
|
|
|
|
|
|
|
[ -e /usr/local/bin/$scriptname ] && rm /usr/local/bin/$scriptname |
|
|
|
if [ -e "$scriptname" ]; then |
|
|
|
if [ "$dependency" == "*" ] || grep -q "$dependency" "$BTCPAY_DOCKER_COMPOSE"; then |
|
|
|
if [ "$dependency" == "*" ] || ( [ -e "$BTCPAY_DOCKER_COMPOSE" ] && grep -q "$dependency" "$BTCPAY_DOCKER_COMPOSE" ); then |
|
|
|
chmod +x $scriptname |
|
|
|
ln -s "$(pwd)/$scriptname" /usr/local/bin |
|
|
|
echo "Installed $scriptname to /usr/local/bin: $comment" |
|
|
|