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