Commit f4cfcaa6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: warn_version_is_not_supported() now set VERSION=*

parent 3921ae92
...@@ -102,7 +102,9 @@ is_supported_arch() ...@@ -102,7 +102,9 @@ is_supported_arch()
warn_version_is_not_supported() warn_version_is_not_supported()
{ {
[ "$VERSION" = "*" ] || echo -e "\nWarning: Specifying the version is not supported by vendor. Downloading latest version ...\n" [ "$VERSION" = "*" ] && return
echo -e "\nWarning: Specifying the version is not supported by vendor. Downloading latest version ...\n"
VERSION="*"
} }
override_pkgname() override_pkgname()
......
...@@ -57,8 +57,6 @@ case $(epm print info -e) in ...@@ -57,8 +57,6 @@ case $(epm print info -e) in
;; ;;
esac esac
VERSION="*"
PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype "-" "-")" PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype "-" "-")"
PKGURL="$(eget --list https://posit.co/download/rstudio-desktop/ "$PKGMASK" | grep "$PKGFILTER")" PKGURL="$(eget --list https://posit.co/download/rstudio-desktop/ "$PKGMASK" | grep "$PKGFILTER")"
......
...@@ -10,9 +10,6 @@ URL="https://trueconf.ru" ...@@ -10,9 +10,6 @@ URL="https://trueconf.ru"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
#[ "$VERSION" = "*" ] && VERSION="[0-9]*"
# only one version in repo
VERSION="*"
distrversion=$(epm print info -v) distrversion=$(epm print info -v)
case "$(epm print info -e)" in case "$(epm print info -e)" in
......
...@@ -39,7 +39,6 @@ esac ...@@ -39,7 +39,6 @@ esac
PKGURL="https://www.virtualhere.com/sites/default/files/usbserver/$file" PKGURL="https://www.virtualhere.com/sites/default/files/usbserver/$file"
# FIXME # FIXME
VERSION="*"
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
VERSION="$(eget -O- https://virtualhere.com/usb_server_software | grep "<strong>Version" | sed -e 's|.*<strong>Version ||' -e 's|</strong>.*||')" VERSION="$(eget -O- https://virtualhere.com/usb_server_software | grep "<strong>Version" | sed -e 's|.*<strong>Version ||' -e 's|</strong>.*||')"
[ -n "$VERSION" ] || fatal "Can't get version for $PKGNAME" [ -n "$VERSION" ] || fatal "Can't get version for $PKGNAME"
......
...@@ -11,7 +11,6 @@ TIPS="Run 'epm play yandex-browser=beta' to install beta version of the browser. ...@@ -11,7 +11,6 @@ TIPS="Run 'epm play yandex-browser=beta' to install beta version of the browser.
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
VERSION="*"
# See also https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=yandex-browser-beta # See also https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=yandex-browser-beta
......
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