Commit 1f414b6f authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play vivaldi: fix VERSION

parent 1ccc686c
...@@ -20,6 +20,9 @@ case "$arch" in ...@@ -20,6 +20,9 @@ case "$arch" in
;; ;;
esac esac
# can't use wildcard for -1
[ "$VERSION" = "*" ] || VERSION="$VERSION-1"
# See also https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vivaldi # See also https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vivaldi
# TODO: # TODO:
...@@ -39,6 +42,7 @@ if [ "$PKGNAME" = "$BASEPKGNAME-snapshot" ] ; then ...@@ -39,6 +42,7 @@ if [ "$PKGNAME" = "$BASEPKGNAME-snapshot" ] ; then
fi fi
PKGURL="https://downloads.vivaldi.com/snapshot/vivaldi-snapshot_${VERSION}_$arch.deb" PKGURL="https://downloads.vivaldi.com/snapshot/vivaldi-snapshot_${VERSION}_$arch.deb"
else else
# https://downloads.vivaldi.com/stable/vivaldi-stable_6.6.3271.55-1_amd64.deb
PKGURL="$(eget --list --latest https://vivaldi.com/ru/download "$(epm print constructname $PKGNAME "$VERSION" $arch deb)")" #" || fatal PKGURL="$(eget --list --latest https://vivaldi.com/ru/download "$(epm print constructname $PKGNAME "$VERSION" $arch deb)")" #" || fatal
fi fi
......
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