summaryrefslogtreecommitdiffstats
path: root/bash/tools/creating_data/download-pkg.sh
diff options
context:
space:
mode:
authorPetr Ospalý <p.ospaly@partner.samsung.com>2019-01-03 16:54:50 +0100
committerPetr Ospalý <p.ospaly@partner.samsung.com>2019-01-03 16:54:50 +0100
commit03e61247159837b566b0cfcc380606dc317fbf1a (patch)
tree731792f18e95258f5d87747c98c70c833e9eaea9 /bash/tools/creating_data/download-pkg.sh
parent329320e637f5ab3bea558db0e13452ab9cfc7bab (diff)
Fix whitespaces across the bash scripts
Change-Id: I8f3912f1b7f35aa889ce63592b30014d6433a82f Issue-ID: OOM-1551 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Diffstat (limited to 'bash/tools/creating_data/download-pkg.sh')
-rw-r--r--bash/tools/creating_data/download-pkg.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bash/tools/creating_data/download-pkg.sh b/bash/tools/creating_data/download-pkg.sh
index 2a5290ca..03bfe07f 100644
--- a/bash/tools/creating_data/download-pkg.sh
+++ b/bash/tools/creating_data/download-pkg.sh
@@ -15,11 +15,13 @@
# limitations under the License.
#
# COPYRIGHT NOTICE ENDS HERE
+
outdir="$1"
if [[ -z "$outdir" ]]; then
echo "Missing output dir"
exit 1
fi
+
# if onap.repo does not exists create it
mkdir -p $outdir
if [ ! -f "$outdir/onap.repo" ]; then
@@ -31,8 +33,10 @@ enabled=1
gpgcheck=0
EOF
fi
+
# this exact docker version is required by ONAP/beijing
# it should be available in centos docker repo
yumdownloader --resolve --destdir="$outdir" docker-ce-17.03.2.ce libtool-ltdl docker-ce-selinux
+
yumdownloader --resolve --destdir="$outdir" dnsmasq icewm firefox tigervnc-server perl*
createrepo "$outdir"