Commit d5813a17 authored by Ivan Mazhukin's avatar Ivan Mazhukin Committed by Vitaly Lipatov

epm play rudesktop: add arch in pkgtype (eterbug #17865)

parent 35737dbf
...@@ -31,17 +31,17 @@ esac ...@@ -31,17 +31,17 @@ esac
case "$(epm print info -p)" in case "$(epm print info -p)" in
rpm) rpm)
pkgtype=rpm pkgtype=x86_64.rpm
;; ;;
*) *)
pkgtype=deb pkgtype=amd64.deb
;; ;;
esac esac
if [ "$VERSION" != "*" ] ; then if [ "$VERSION" != "*" ] ; then
PKGURL="https://storage.rudesktop.ru/download/$PKGNAME-$VERSION-amd64.$pkgtype" PKGURL="https://storage.rudesktop.ru/download/$PKGNAME-$VERSION-$pkgtype"
else else
PKGURL="$(eget --list --latest https://rudesktop.ru/downloads/ "$PKGNAME-*-amd64.$pkgtype")" PKGURL="$(eget --list --latest https://rudesktop.ru/downloads/ "$PKGNAME-*-$pkgtype")"
fi fi
install_pkgurl || exit install_pkgurl || exit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment