From f1dd1a6e2c3e2dc51d0c233a2d3b0ec2a372b4a5 Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 13 Oct 2023 16:31:06 +0200 Subject: [PATCH 1/3] verbose core download --- scripts/dappnode_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dappnode_install.sh b/scripts/dappnode_install.sh index b8deb8e..5898226 100755 --- a/scripts/dappnode_install.sh +++ b/scripts/dappnode_install.sh @@ -164,7 +164,7 @@ dappnode_core_download() { if [[ ${!ver} != dev:* ]]; then # Download DAppNode Core Images if it's needed echo "Downloading ${comp} tar..." - eval "[ -f \$${comp}_FILE ] || $WGET -O \$${comp}_FILE \$${comp}_URL || exit 1" + eval "[ -f \$${comp}_FILE ] || $WGET -O \$${comp}_FILE \$${comp}_URL || { echo 'Error: Unable to find the file ' \$${comp}_FILE ' or download from ' \$${comp}_URL; exit 1; }" # Download DAppNode Core docker-compose yml files if it's needed echo "Downloading ${comp} yml..." eval "[ -f \$${comp}_YML_FILE ] || $WGET -O \$${comp}_YML_FILE \$${comp}_YML || exit 1" From ddd953140756aabc8c201c8e4f4957d153b6574f Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 17 Oct 2023 11:52:56 +0200 Subject: [PATCH 2/3] verbose core download --- scripts/dappnode_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dappnode_install.sh b/scripts/dappnode_install.sh index 5898226..1c6d627 100755 --- a/scripts/dappnode_install.sh +++ b/scripts/dappnode_install.sh @@ -167,10 +167,10 @@ dappnode_core_download() { eval "[ -f \$${comp}_FILE ] || $WGET -O \$${comp}_FILE \$${comp}_URL || { echo 'Error: Unable to find the file ' \$${comp}_FILE ' or download from ' \$${comp}_URL; exit 1; }" # Download DAppNode Core docker-compose yml files if it's needed echo "Downloading ${comp} yml..." - eval "[ -f \$${comp}_YML_FILE ] || $WGET -O \$${comp}_YML_FILE \$${comp}_YML || exit 1" + eval "[ -f \$${comp}_YML_FILE ] || $WGET -O \$${comp}_YML_FILE \$${comp}_YML || { echo 'Error: Unable to find the file ' \$${comp}_YML_FILE ' or download from ' \$${comp}_URL; exit 1; }" # Download DAppNode Core manifest files if it's needed echo "Downloading ${comp} manifest..." - eval "[ -f \$${comp}_MANIFEST_FILE ] || $WGET -O \$${comp}_MANIFEST_FILE \$${comp}_MANIFEST || exit 1" + eval "[ -f \$${comp}_MANIFEST_FILE ] || $WGET -O \$${comp}_MANIFEST_FILE \$${comp}_MANIFEST || { echo 'Error: Unable to find the file ' \$${comp}_MANIFEST_FILE ' or download from ' \$${comp}_URL; exit 1; }" fi done } From 0cdf6417620be2bc149b2ab747ce6cba0eff9e25 Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 17 Oct 2023 11:55:23 +0200 Subject: [PATCH 3/3] verbose core download --- scripts/dappnode_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dappnode_install.sh b/scripts/dappnode_install.sh index 1c6d627..bcd0db4 100755 --- a/scripts/dappnode_install.sh +++ b/scripts/dappnode_install.sh @@ -167,10 +167,10 @@ dappnode_core_download() { eval "[ -f \$${comp}_FILE ] || $WGET -O \$${comp}_FILE \$${comp}_URL || { echo 'Error: Unable to find the file ' \$${comp}_FILE ' or download from ' \$${comp}_URL; exit 1; }" # Download DAppNode Core docker-compose yml files if it's needed echo "Downloading ${comp} yml..." - eval "[ -f \$${comp}_YML_FILE ] || $WGET -O \$${comp}_YML_FILE \$${comp}_YML || { echo 'Error: Unable to find the file ' \$${comp}_YML_FILE ' or download from ' \$${comp}_URL; exit 1; }" + eval "[ -f \$${comp}_YML_FILE ] || $WGET -O \$${comp}_YML_FILE \$${comp}_YML || { echo 'Error: Unable to find the file ' \$${comp}_YML_FILE ' or download from ' \$${comp}_YML; exit 1; }" # Download DAppNode Core manifest files if it's needed echo "Downloading ${comp} manifest..." - eval "[ -f \$${comp}_MANIFEST_FILE ] || $WGET -O \$${comp}_MANIFEST_FILE \$${comp}_MANIFEST || { echo 'Error: Unable to find the file ' \$${comp}_MANIFEST_FILE ' or download from ' \$${comp}_URL; exit 1; }" + eval "[ -f \$${comp}_MANIFEST_FILE ] || $WGET -O \$${comp}_MANIFEST_FILE \$${comp}_MANIFEST || { echo 'Error: Unable to find the file ' \$${comp}_MANIFEST_FILE ' or download from ' \$${comp}_MANIFEST; exit 1; }" fi done }