mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Do not specific tooling if the docker compose does not exists
This commit is contained in:
parent
27919437cd
commit
34b6a81081
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user