move thinlinc rpm files into x86_64 directory

This commit is contained in:
Timo Makinen 2019-05-15 20:41:33 +03:00
parent b18bcedb59
commit 08329644ec

View file

@ -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/^.*<a href="\(.*\.x86_64\.rpm\)">64-bit.*/\1/p')
if [ "${LOCATION}" = "" ]; then