From 08329644ec3285e269cae5f3cfc749079805d6c3 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Wed, 15 May 2019 20:41:33 +0300 Subject: [PATCH] move thinlinc rpm files into x86_64 directory --- roles/mirror/thinlinc/files/sync-thinlinc-repo | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/mirror/thinlinc/files/sync-thinlinc-repo b/roles/mirror/thinlinc/files/sync-thinlinc-repo index ade62ce..dbecda9 100755 --- a/roles/mirror/thinlinc/files/sync-thinlinc-repo +++ b/roles/mirror/thinlinc/files/sync-thinlinc-repo @@ -10,6 +10,12 @@ if [ ! -d "${REPODIR}" ]; then exit 1 fi +# we only do x86_64 +REPODIR="${REPODIR}/x86_64" +if [ ! -d "${REPODIR}" ]; then + mkdir "${REPODIR}" +fi + LOCATION=$(curl -s "${BASEURL}/thinlinc/download" | \ sed -n 's/^.*64-bit.*/\1/p') if [ "${LOCATION}" = "" ]; then