From: Bartek Grzybowski Date: Fri, 19 Feb 2021 13:37:12 +0000 (+0100) Subject: Fix docker-entrypoint.sh X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=ce6f9f197d106ac895a36ca300b3a861674cfcef;p=oom%2Foffline-installer.git Fix docker-entrypoint.sh Change-Id: Ie737420d13ee455cc2b50d2541620ab836cd36f3 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski --- diff --git a/build/docker-entrypoint.sh b/build/docker-entrypoint.sh index 81dcd84c..d6f526d3 100755 --- a/build/docker-entrypoint.sh +++ b/build/docker-entrypoint.sh @@ -164,12 +164,12 @@ case "$distro_type" in done # Download all packages via apt-get to repository folder - for i in $(cat ${list_file});do echo apt-get download $i -y; done + for i in $(cat ${list_file});do apt-get download $i -y; done for i in $(cat ${list_file}); do for depends in $(apt-cache depends $i | grep -E 'Depends' | grep -v 'Depends:.*>$' | cut -d ':' -f 2,3 | sed -e s/'<'/''/ -e s/'>'/''/); do -echo apt-get download $depends -y; + apt-get download $depends -y; done; done