mirror/thinlinc: Fix updating server packages
This commit is contained in:
parent
f701cfd4c9
commit
b2339cd877
1 changed files with 1 additions and 4 deletions
|
@ -39,9 +39,7 @@ if [ ! -f "${REPODIR}/${PKGNAME}" ]; then
|
|||
echo "Downloading server package:"
|
||||
curl -sfo "$tmpfile" "${BASEURL}/downloads/server/tl-${VERSION}-server.zip"
|
||||
echo "Extracting server rpm files:"
|
||||
unzip -jfvd "$REPODIR" "$tmpfile" \*.rpm
|
||||
echo "Cleaning up..."
|
||||
echo ""
|
||||
unzip -jd "$REPODIR" "$tmpfile" \*.rpm
|
||||
|
||||
echo "Downloading client rpm package:"
|
||||
curl -sfo "${REPODIR}/${PKGNAME}" "${LOCATION}"
|
||||
|
@ -50,4 +48,3 @@ if [ ! -f "${REPODIR}/${PKGNAME}" ]; then
|
|||
createrepo_c "${REPODIR}"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue