diff --git a/docs/setup.md b/docs/setup.md index d6fcad93f..1519afcde 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -30,7 +30,7 @@ steps described in [Docker setup](#docker_hub) automatically. 2. Download and run the installation script: ```shell-session - $ bash -c "$(curl -L https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/install-paperless-ngx.sh)" + $ bash -c "$(curl --location --silent --show-error https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/install-paperless-ngx.sh)" ``` !!! note diff --git a/install-paperless-ngx.sh b/install-paperless-ngx.sh index 24aedba3c..894f9c76a 100755 --- a/install-paperless-ngx.sh +++ b/install-paperless-ngx.sh @@ -57,7 +57,7 @@ if ! command -v docker &> /dev/null ; then fi DOCKER_COMPOSE_CMD="docker-compose" -if ! command -v ${DOCKER_COMPOSE_CMD} ; then +if ! command -v ${DOCKER_COMPOSE_CMD} &> /dev/null ; then if docker compose version &> /dev/null ; then DOCKER_COMPOSE_CMD="docker compose" else