Commit 586f32e9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: drop PKGURL checking

parent 1f414b6f
......@@ -9,6 +9,6 @@ TIPS="Run 'epm play 64gram=<version>' to install the version of the 64Gram Teleg
. $(dirname $0)/common.sh
PKGURL=$(eget --list --latest https://github.com/TDesktop-x64/tdesktop/releases ${PKGNAME}_${VERSION}_linux.zip) || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/TDesktop-x64/tdesktop/releases ${PKGNAME}_${VERSION}_linux.zip)
epm --install pack $PKGNAME "$PKGURL"
......@@ -37,7 +37,7 @@ PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch '' '_')"
# lib.req: WARNING: /usr/bin/anydesk: library libpangox-1.0.so.0 not found
#[ "$(epm print info -s)" = "alt" ] && PKGMASK="os-specific/rhel8/$(epm print constructname $PKGNAME "*" $arch)"
PKGURL="$(eget --list --latest https://download.anydesk.com/linux/ "./$PKGMASK")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://download.anydesk.com/linux/ "./$PKGMASK")"
install_pkgurl
......
......@@ -22,7 +22,7 @@ if [ "$VERSION" != "*" ] ; then
[ "$PKGNAME" = "atom-beta" ] && VERSION="$VERSION-beta0"
PKGURL="https://github.com/atom/atom/releases/download/v$VERSION/atom-$arch.$pkgtype"
else
PKGURL=$(eget --list https://github.com/atom/atom/releases/ "atom-$arch.$pkgtype" | grep $notbeta -- "-beta" | head -n1) || fatal "Can't get package URL"
PKGURL=$(eget --list https://github.com/atom/atom/releases/ "atom-$arch.$pkgtype" | grep $notbeta -- "-beta" | head -n1)
fi
install_pkgurl
......@@ -18,6 +18,6 @@ case $pkgtype in
;;
esac
PKGURL=$(eget --list --latest https://github.com/balena-io/etcher/releases "$mask") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/balena-io/etcher/releases "$mask")
install_pkgurl
......@@ -21,7 +21,6 @@ esac
#https://github.com/bitwarden/clients/releases/download/desktop-v2023.4.0/Bitwarden-2023.4.0-amd64.deb
#https://github.com/bitwarden/clients/releases/download/desktop-v2023.4.0/Bitwarden-2023.4.0-x86_64.rpm
PKGURL=$(eget --list --latest https://github.com/bitwarden/clients/releases $(epm print constructname Bitwarden "$VERSION*" $arch $pkgtype "-" "-")) || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/bitwarden/clients/releases $(epm print constructname Bitwarden "$VERSION*" $arch $pkgtype "-" "-"))
install_pkgurl
......@@ -11,6 +11,6 @@ URL="https://github.com/lencx/ChatGPT"
is_openssl_enough 3 || fatal "There is no needed OpenSSL 3 in the system."
# https://github.com/lencx/ChatGPT/releases/download/v1.0.0/ChatGPT_1.0.0_linux_x86_64.deb
PKGURL=$(eget --list --latest https://github.com/lencx/ChatGPT/releases/ "ChatGPT_${VERSION}_linux_x86_64.deb") || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://github.com/lencx/ChatGPT/releases/ "ChatGPT_${VERSION}_linux_x86_64.deb")"
install_pkgurl
......@@ -13,6 +13,6 @@ DESCRIPTION="Chromium with GOST support from the official site"
arch=amd64
pkgtype=deb
PKGURL=$(eget --list --latest https://github.com/deemru/chromium-gost/releases "chromium-gost-$VERSION-linux-$arch.$pkgtype") || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://github.com/deemru/chromium-gost/releases "chromium-gost-$VERSION-linux-$arch.$pkgtype")"
install_pkgurl
......@@ -11,7 +11,7 @@ URL="https://clipgrab.org/"
if [ "$VERSION" != "*" ] ; then
PKGURL="https://download.clipgrab.org/ClipGrab-$VERSION-x86_64.AppImage"
else
PKGURL="$(eget --list --latest https://clipgrab.org/ "ClipGrab-*-x86_64.AppImage")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://clipgrab.org/ "ClipGrab-*-x86_64.AppImage")"
fi
install_pkgurl
......@@ -31,7 +31,7 @@ esac
mask="$(epm print constructname $PKGNAME "$VERSION*" $arch $pkgtype)"
PKGURL="$(eget --list --latest https://github.com/VSCodium/vscodium/releases "$mask")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://github.com/VSCodium/vscodium/releases "$mask")"
install_pkgurl
......@@ -20,6 +20,6 @@ case "$arch" in
;;
esac
PKGURL="$(eget --list --latest https://cuda-z.sourceforge.net/ "$file" )" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://cuda-z.sourceforge.net/ "$file" )"
install_pack_pkgurl
......@@ -9,7 +9,7 @@ DESCRIPTION="Discord from the official site"
if [ "$VERSION" = "*" ] ; then
# workaround against curl can't get filename: https://github.com/curl/curl/issues/8461
PKGURL="$(eget --get-real-url "https://discord.com/api/download?platform=linux&format=deb")" || fatal "Can't get package URL"
PKGURL="$(eget --get-real-url "https://discord.com/api/download?platform=linux&format=deb")"
else
PKGURL="https://dl.discordapp.net/apps/linux/$VERSION/discord-$VERSION.deb"
fi
......
......@@ -19,6 +19,6 @@ esac
arch=amd64
PKGURL=$(eget --list --latest https://github.com/darbyjohnston/DJV/releases "$mask") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/darbyjohnston/DJV/releases "$mask")
install_pkgurl
......@@ -10,6 +10,6 @@ DESCRIPTION="diagrams.net desktop"
arch=amd64
pkgtype=deb
PKGURL=$(eget --list --latest https://github.com/jgraph/drawio-desktop/releases "drawio-$arch-$VERSION.$pkgtype") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/jgraph/drawio-desktop/releases "drawio-$arch-$VERSION.$pkgtype")
install_pkgurl
......@@ -15,6 +15,6 @@ file="DuckStation-x64.AppImage"
# TODO: preview, previous-latest
SELECTOR="preview"
PKGURL=$(eget --list https://github.com/stenzek/duckstation/releases $file | grep "/$SELECTOR/") || fatal "Can't get package URL"
PKGURL=$(eget --list https://github.com/stenzek/duckstation/releases $file | grep "/$SELECTOR/")
install_pack_pkgurl
......@@ -14,6 +14,6 @@ URL="https://element.io/"
arch="amd64"
mask="$(epm print constructname $PKGNAME "$VERSION" $arch "deb")"
PKGURL=$(eget --list --latest https://packages.element.io/debian/pool/main/e/element-desktop/index.html "$mask") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://packages.element.io/debian/pool/main/e/element-desktop/index.html "$mask")
install_pkgurl
......@@ -10,6 +10,5 @@ DESCRIPTION="FAR2L Portable from the official site"
warn_version_is_not_supported
PKGURL=$(eget --list --latest https://github.com/spvkgn/far2l-portable/releases "far2l_x86_64.AppImage.tar")
[ -n "$PKGURL" ] || fatal "Can't get package URL"
install_pack_pkgurl
......@@ -25,7 +25,7 @@ case "$pkgtype" in
;;
esac
PKGURL=$(eget --list --latest https://github.com/Figma-Linux/figma-linux/releases "$file") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/Figma-Linux/figma-linux/releases "$file")
install_pkgurl
......@@ -18,6 +18,6 @@ case $pkgtype in
;;
esac
PKGURL="$(eget --list --latest https://www.freeoffice.com/ru/download/applications "$file")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://www.freeoffice.com/ru/download/applications "$file")"
install_pkgurl
......@@ -11,4 +11,5 @@ URL="http://freeplane.sourceforge.net"
[ "$VERSION" = "*" ] && VERSION="$(eget -O- https://sourceforge.net/projects/$PKGNAME/best_release.json | sed -e 's|.*freeplane_bin-||g' -e 's|\.zip.*||')"
PKGURL="https://download.sourceforge.net/project/freeplane/freeplane%20stable/freeplane_$VERSION~upstream-1_all.deb"
install_pkgurl
......@@ -28,7 +28,7 @@ case "$pkgtype" in
;;
esac
PKGURL=$(eget --list --latest https://download.guardant.ru/LM/Linux/$VERSION/$shortarch/ "$file") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://download.guardant.ru/LM/Linux/$VERSION/$shortarch/ "$file")
install_pack_pkgurl "$VERSION"
......
......@@ -20,6 +20,6 @@ esac
pkgtype=deb
PKGURL=$(eget --list --latest https://github.com/4gray/iptvnator/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/4gray/iptvnator/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype")
install_pkgurl
......@@ -9,6 +9,6 @@ URL="https://github.com/logseq/logseq"
. $(dirname $0)/common.sh
# https://github.com/logseq/logseq/releases/download/0.9.5/Logseq-linux-x64-0.9.5.AppImage
PKGURL=$(eget --list https://github.com/logseq/logseq/releases/ "Logseq-linux-x64-$VERSION.AppImage" | grep -v nightly | head -n1) || fatal "Can't get package URL"
PKGURL=$(eget --list https://github.com/logseq/logseq/releases/ "Logseq-linux-x64-$VERSION.AppImage" | grep -v nightly | head -n1)
install_pack_pkgurl
......@@ -19,6 +19,6 @@ fi
PKGURL="https://hb.bizmrg.com/agent-www/linux/x64/agent.tar.xz"
install_pack_pkgurl "$VERSION"
#PKGURL="$(eget -O- -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/agent | epm --inscript tool json -b | grep '\["channel-map",0,"download","url"\]' | head -n1 | sed -e 's|.*"\(.*\)"$|\1|' )" || fatal "Can't get URL"
#PKGURL="$(eget -O- -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/agent | epm --inscript tool json -b | grep '\["channel-map",0,"download","url"\]' | head -n1 | sed -e 's|.*"\(.*\)"$|\1|' )"
#epm install "$PKGURL"
......@@ -13,6 +13,6 @@ URL="https://www.getmailspring.com/"
arch=amd64
pkgtype=deb
PKGURL=$(eget --list --latest https://github.com/Foundry376/Mailspring/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/Foundry376/Mailspring/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype")
install_pkgurl
......@@ -33,6 +33,6 @@ if [ -z "$PKG" ] ; then
esac
fi
PKGURL=$(eget --list --latest https://code-industry.ru/get-master-pdf-editor-for-linux/ "$PKG") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://code-industry.ru/get-master-pdf-editor-for-linux/ "$PKG")
install_pkgurl
......@@ -21,7 +21,7 @@ case "$arch" in
;;
esac
PKGURL=$(eget --list --latest https://github.com/mattermost/desktop/releases $(epm print constructname $PKGNAME "$VERSION*" $arch "deb")) || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/mattermost/desktop/releases $(epm print constructname $PKGNAME "$VERSION*" $arch "deb"))
install_pkgurl
......@@ -11,7 +11,7 @@ URL="https://github.com/PurpleHorrorRus/Meridius"
if [ "$VERSION" != "*" ] ; then
PKGURL="https://github.com/PurpleHorrorRus/Meridius/releases/download/v$VERSION/meridius-$VERSION.tar.gz"
else
PKGURL=$(eget --list --latest https://github.com/PurpleHorrorRus/Meridius/releases "$PKGNAME-*.tar.gz") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/PurpleHorrorRus/Meridius/releases "$PKGNAME-*.tar.gz")
fi
install_pkgurl
......@@ -17,6 +17,6 @@ epm assure xdg-desktop-menu xdg-utils
# https://preset.myoffice-app.ru/myoffice-standard-home-edition-2.3.0-x86_64.rpm
# https://preset.myoffice-app.ru/myoffice-standard-home-edition_2.3.0_amd64.deb
PKGMASK="$(epm print constructname $PKGNAME "$VERSION" "" "" "" "[-_]")"
PKGURL="$(eget --list --latest https://myoffice.ru/products/standard-home-edition/ "$PKGMASK")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://myoffice.ru/products/standard-home-edition/ "$PKGMASK")"
epm install "$PKGURL"
......@@ -8,6 +8,6 @@ URL="https://mytonwallet.app/"
. $(dirname $0)/common.sh
PKGURL=$(eget --list --latest https://github.com/mytonwalletorg/mytonwallet/releases "MyTonWallet-x86_64.AppImage") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/mytonwalletorg/mytonwallet/releases "MyTonWallet-x86_64.AppImage")
install_pkgurl
......@@ -8,7 +8,7 @@ URL="https://neovide.dev/"
. $(dirname $0)/common.sh
PKGURL=$(eget --list --latest https://github.com/neovide/neovide/releases "$PKGNAME.AppImage") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/neovide/neovide/releases "$PKGNAME.AppImage")
install_pkgurl
......@@ -15,6 +15,6 @@ pkgtype=deb
[ "$VERSION" = "*" ] || VERSION="$VERSION*"
# https://github.com/vkbo/novelWriter/releases/download/v2.0.7/novelwriter_2.0.7_all.deb
PKGURL=$(eget --list --latest https://github.com/vkbo/novelWriter/releases "novelwriter_${VERSION}_all.$pkgtype") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/vkbo/novelWriter/releases "novelwriter_${VERSION}_all.$pkgtype")
install_pkgurl
......@@ -9,6 +9,6 @@ URL="https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/"
. $(dirname $0)/common.sh
# https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/0.85.0/0.85.0-linux-x64.zip
PKGURL=$(eget --list --latest https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases "${VERSION}-linux-x64.zip") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases "${VERSION}-linux-x64.zip")
install_pack_pkgurl
......@@ -11,6 +11,6 @@ URL="https://obsidian.md"
arch=amd64
pkgtype=deb
PKGURL=$(eget --list --latest https://github.com/obsidianmd/obsidian-releases/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/obsidianmd/obsidian-releases/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype")
install_pkgurl
......@@ -11,7 +11,6 @@ URL="https://github.com/pachca/pachca-desktop"
arch="$(epm print info --debian-arch)"
file="${PKGNAME}_${VERSION}_$arch.deb"
PKGURL=$(eget --list --latest https://github.com/pachca/pachca-desktop/releases "$file") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/pachca/pachca-desktop/releases "$file")
install_pkgurl
......@@ -11,6 +11,6 @@ URL="https://github.com/PCSX2/pcsx2/releases"
# https://github.com/PCSX2/pcsx2/releases/download/v1.7.4767/pcsx2-v1.7.4767-linux-appimage-x64-Qt.AppImage
file="pcsx2-v${VERSION}-linux-appimage-x64-Qt.AppImage"
PKGURL=$(eget --list --latest https://github.com/PCSX2/pcsx2/releases "$file") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/PCSX2/pcsx2/releases "$file")
install_pack_pkgurl
......@@ -29,6 +29,6 @@ esac
mask="$(epm print constructname $PKGNAME "$VERSION.ga" $arch)"
PKGURL="$(eget --list --latest https://pencil.evolus.vn/Downloads.html "$mask")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://pencil.evolus.vn/Downloads.html "$mask")"
install_pkgurl
......@@ -9,6 +9,6 @@ URL="https://www.plex.tv/"
. $(dirname $0)/common.sh
# https://api.snapcraft.io/api/v1/snaps/download/qc6MFRM433ZhI1XjVzErdHivhSOhlpf0_37.snap
PKGURL="$(eget -O- -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/plex-desktop | epm --inscript tool json -b | grep '\["channel-map",0,"download","url"\]' | head -n1 | sed -e 's|.*"\(.*\)"$|\1|' )" || fatal "Can't get URL"
PKGURL="$(eget -O- -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/plex-desktop | epm --inscript tool json -b | grep '\["channel-map",0,"download","url"\]' | head -n1 | sed -e 's|.*"\(.*\)"$|\1|' )" #"
install_pkgurl
......@@ -26,6 +26,6 @@ case $(epm print info -e) in
;;
esac
PKGURL=$(eget --list --latest $BASEURL "$file") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest $BASEURL "$file")
install_pkgurl
......@@ -24,6 +24,6 @@ esac
arch=x86_64
# https://github.com/prateekmedia/pstube/releases/download/2.6.0/pstube-linux-2.6.0-x86_64.rpm
# https://github.com/prateekmedia/pstube/releases/download/2.6.0/pstube-linux-2.6.0-x86_64.deb
PKGURL=$(eget --list --latest https://github.com/prateekmedia/pstube/releases "$PKGNAME-$VERSION-$arch.$pkgtype") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/prateekmedia/pstube/releases "$PKGNAME-$VERSION-$arch.$pkgtype")
install_pkgurl
......@@ -28,6 +28,5 @@ case $pkgtype-$arch in
;;
esac
PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/vnc/ "$mask") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/vnc/ "$mask")
install_pkgurl
......@@ -36,6 +36,6 @@ esac
# https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-7.10.0-Linux-x64.deb
# https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-7.10.0-Linux-x64.rpm
PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/viewer/ "$PKG") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/viewer/ "$PKG")
install_pkgurl
......@@ -11,6 +11,6 @@ URL="https://github.com/RocketChat/Rocket.Chat.Electron"
arch=amd64
pkgtype=deb
PKGURL=$(eget --list --latest https://github.com/RocketChat/Rocket.Chat.Electron/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/RocketChat/Rocket.Chat.Electron/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype")
install_pkgurl
......@@ -11,6 +11,6 @@ URL="https://rpcs3.net/download"
# https://github.com/RPCS3/rpcs3-binaries-linux/releases/download/build-fff0c96bf38d1ada075e524c4753a7f263c06449/rpcs3-v0.0.18-12817-fff0c96b_linux64.AppImage
file="rpcs3-v${VERSION}-*-*_linux64.AppImage"
PKGURL=$(eget --list --latest https://github.com/RPCS3/rpcs3-binaries-linux/releases "$file") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/RPCS3/rpcs3-binaries-linux/releases "$file")
install_pack_pkgurl
......@@ -60,6 +60,6 @@ esac
VERSION="${VERSION/+/-}"
PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype "-" "-")"
PKGURL="$(eget --list https://www.rstudio.com/products/rstudio/download/ "$PKGMASK" | grep "$PKGFILTER")" || fatal "Can't get package URL"
PKGURL="$(eget --list https://www.rstudio.com/products/rstudio/download/ "$PKGMASK" | grep "$PKGFILTER")"
install_pkgurl
......@@ -21,7 +21,8 @@ else
MASK="$PKGNAME-$VERSION-$arch.$pkgtype"
fi
PKGURL=$(eget --list --latest https://github.com/rustdesk/rustdesk/releases "$MASK") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/rustdesk/rustdesk/releases "$MASK")
install_pkgurl
cat <<EOF
......
......@@ -8,6 +8,6 @@ URL="https://sidequestvr.com/"
. $(dirname $0)/common.sh
PKGURL=$(eget --list --latest "https://github.com/SideQuestVR/SideQuest/releases/" "SideQuest-$VERSION.tar.xz") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest "https://github.com/SideQuestVR/SideQuest/releases/" "SideQuest-$VERSION.tar.xz")
install_pack_pkgurl
......@@ -10,6 +10,6 @@ URL="https://snapcraft.io/singularityapp"
SNAPNAME="singularityapp"
# https://api.snapcraft.io/api/v1/snaps/download/qc6MFRM433ZhI1XjVzErdHivhSOhlpf0_37.snap
PKGURL="$(eget -O- -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/$SNAPNAME | epm --inscript tool json -b | grep '\["channel-map",0,"download","url"\]' | head -n1 | sed -e 's|.*"\(.*\)"$|\1|' )" || fatal "Can't get URL"
PKGURL="$(eget -O- -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/$SNAPNAME | epm --inscript tool json -b | grep '\["channel-map",0,"download","url"\]' | head -n1 | sed -e 's|.*"\(.*\)"$|\1|' )"
install_pkgurl
......@@ -13,6 +13,6 @@ pkgtype=rpm
# https://downloads.slack-edge.com/desktop-releases/linux/x64/4.37.94/slack-4.37.94-0.1.el8.x86_64.rpm
mask="$(epm print constructname $PKGNAME "$VERSION-[.09]*" $arch $pkgtype)"
PKGURL="$(eget --list --latest https://slack.com/downloads/instructions/fedora "$mask")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://slack.com/downloads/instructions/fedora "$mask")"
install_pkgurl
......@@ -8,6 +8,6 @@ URL="https://spotify.com"
. $(dirname $0)/common.sh
PKGURL="https://repository-origin.spotify.com/pool/non-free/s/spotify-client/$(epm print constructname $PKGNAME "$VERSION*" amd64 deb)" || fatal "Can't get package URL"
PKGURL="https://repository-origin.spotify.com/pool/non-free/s/spotify-client/$(epm print constructname $PKGNAME "$VERSION*" amd64 deb)"
install_pkgurl
......@@ -21,7 +21,7 @@ case "$arch" in
;;
esac
PKGURL=$(eget --list --latest https://www.sublimetext.com/download_thanks "sublime_text_build_${VERSION}_$arch.tar.xz") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://www.sublimetext.com/download_thanks "sublime_text_build_${VERSION}_$arch.tar.xz")
install_pack_pkgurl
......
......@@ -24,6 +24,6 @@ esac
# https://github.com/tonkeeper/tonkeeper-web/releases/download/v3.7.1/tonkeeper_3.7.1_amd64.deb
# https://github.com/tonkeeper/tonkeeper-web/releases/download/v3.7.1/Tonkeeper-3.7.1-1.x86_64.rpm
PKGURL=$(eget --list --latest https://github.com/tonkeeper/tonkeeper-web/releases $(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype)) || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/tonkeeper/tonkeeper-web/releases $(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype))
install_pkgurl
......@@ -15,6 +15,6 @@ fi
[ "$VERSION" != "*" ] && VERSION="$VERSION-1.1"
PKGURL=$(eget --list --latest https://github.com/clickot/ungoogled-chromium-binaries/releases "ungoogled-chromium_${VERSION}_linux.tar.xz") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/clickot/ungoogled-chromium-binaries/releases "ungoogled-chromium_${VERSION}_linux.tar.xz")
install_pkgurl
......@@ -8,6 +8,6 @@ URL="https://benchmark.unigine.com/heaven"
. $(dirname $0)/common.sh
PKGURL="$(eget --list --latest https://benchmark.unigine.com/heaven "Unigine_Heaven-$VERSION.run")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://benchmark.unigine.com/heaven "Unigine_Heaven-$VERSION.run")"
install_pack_pkgurl
......@@ -9,6 +9,6 @@ URL="https://benchmark.unigine.com/superposition"
. $(dirname $0)/common.sh
# https://assets.unigine.com/d/Unigine_superposition-4.0.run
PKGURL=$(eget --list --latest https://benchmark.unigine.com/superposition "Unigine_Superposition-$VERSION.run") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://benchmark.unigine.com/superposition "Unigine_Superposition-$VERSION.run")
install_pack_pkgurl
......@@ -9,6 +9,6 @@ URL="https://benchmark.unigine.com/valley"
. $(dirname $0)/common.sh
# https://assets.unigine.com/d/Unigine_valley-4.0.run
PKGURL=$(eget --list --latest https://benchmark.unigine.com/valley "Unigine_Valley-$VERSION.run") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://benchmark.unigine.com/valley "Unigine_Valley-$VERSION.run")
install_pack_pkgurl
......@@ -11,6 +11,6 @@ URL="https://github.com/upscayl/upscayl"
# FIXME: they put some wrong version to X-AppImage-Version
# https://github.com/upscayl/upscayl/issues/761
PKGURL=$(eget --list --latest https://github.com/upscayl/upscayl/releases "upscayl-$VERSION-linux.AppImage") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/upscayl/upscayl/releases "upscayl-$VERSION-linux.AppImage")
install_pkgurl
......@@ -12,6 +12,6 @@ arch="$(epm print info -a)"
mask="dhcoapp-noffmpeg-linux-$arch.deb"
PKGURL=$(eget --list --latest https://github.com/aclap-dev/vdhcoapp/releases/ "$mask") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/aclap-dev/vdhcoapp/releases/ "$mask")
install_pkgurl
......@@ -43,7 +43,7 @@ if [ "$PKGNAME" = "$BASEPKGNAME-snapshot" ] ; then
PKGURL="https://downloads.vivaldi.com/snapshot/vivaldi-snapshot_${VERSION}_$arch.deb"
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)")" #"
fi
install_pkgurl
......
......@@ -19,6 +19,6 @@ case "$pkgtype" in
;;
esac
PKGURL="$(eget --list --latest "$URL" "$PKGNAME.$pkgtype")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest "$URL" "$PKGNAME.$pkgtype")"
install_pkgurl
......@@ -15,6 +15,6 @@ case "$arch" in
;;
esac
PKGURL="$(eget --list --latest https://desktop.userapi.com/rpm/master/ "$PKGNAME-$VERSION.$arch.rpm")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://desktop.userapi.com/rpm/master/ "$PKGNAME-$VERSION.$arch.rpm")"
install_pkgurl
......@@ -31,6 +31,6 @@ esac
pkgtype="$(epm print info -p)"
PKGURL="$(eget --list --latest https://www.hamrick.com/alternate-versions.html "$file*.$pkgtype" )" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest https://www.hamrick.com/alternate-versions.html "$file*.$pkgtype" )"
install_pkgurl
......@@ -11,6 +11,6 @@ URL="https://github.com/nroduit/Weasis"
arch="$(epm print info --debian-arch)"
file="weasis_$VERSION-1_$arch.deb"
PKGURL=$(eget --list --latest https://github.com/nroduit/Weasis/releases "$file") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/nroduit/Weasis/releases "$file")
install_pkgurl
......@@ -8,6 +8,6 @@ URL="https://github.com/yar229/WebDavMailRuCloud"
. $(dirname $0)/common.sh
PKGURL=$(eget --list --latest https://github.com/yar229/WebDavMailRuCloud/releases "WebDAVCloudMailRu-${VERSION}-dotNet6.zip") || fatal
PKGURL=$(eget --list --latest https://github.com/yar229/WebDavMailRuCloud/releases "WebDAVCloudMailRu-${VERSION}-dotNet6.zip")
install_pack_pkgurl
......@@ -9,6 +9,6 @@ URL="https://cyberbotics.com/"
. $(dirname $0)/common.sh
PKGURL=$(eget --list --latest https://github.com/cyberbotics/webots/releases/"*.deb") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/cyberbotics/webots/releases/"*.deb")
install_pkgurl
......@@ -16,7 +16,7 @@ fi
arch=x86_64
# sh: symbol lookup error: /tmp/.private/lav/.mount_whatsaxhRMDh/opt/libc/lib/x86_64-linux-gnu/libc.so.6: undefined symbol: __libc_enable_secure, version GLIBC_PRIVATE
PKGURL=$(eget --list --latest https://github.com/eneshecan/whatsapp-for-linux/releases "$PKGNAME-$VERSION-$arch.AppImage") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/eneshecan/whatsapp-for-linux/releases "$PKGNAME-$VERSION-$arch.AppImage")
install_pkgurl
......@@ -33,7 +33,7 @@ case $pkgtype in
;;
esac
PKGURL="$(eget --list --latest $BASEURL/$DIRVERSION/ "$mask")" || fatal "Can't get package URL"
PKGURL="$(eget --list --latest $BASEURL/$DIRVERSION/ "$mask")"
#PKGURL="https://wingware.com/pub/wing-personal/$VERSION/$mask"
install_pkgurl
......@@ -22,6 +22,6 @@ case $pkgtype in
;;
esac
PKGURL=$(eget --list --latest https://xod.io/ "$mask") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://xod.io/ "$mask")
install_pkgurl
......@@ -17,7 +17,7 @@ URL="https://repo.yandex.ru/yandex-browser"
if [ "$(epm print info -p)" = "rpm" ] ; then
# https://repo.yandex.ru/yandex-browser/rpm/stable/x86_64/yandex-browser-stable-23.1.1.1114-1.x86_64.rpm
[ "$BRANCH" = "corporate" ] && BRANCH="stable"
PKGURL="$URL/rpm/$BRANCH/x86_64/$(epm print constructname $PKGNAME "$VERSION*" x86_64 rpm)" || fatal "Can't get package URL"
PKGURL="$URL/rpm/$BRANCH/x86_64/$(epm print constructname $PKGNAME "$VERSION*" x86_64 rpm)"
else
# https://repo.yandex.ru/yandex-browser/deb/pool/main/y/yandex-browser-beta/yandex-browser-beta_23.5.4.682-1_amd64.deb
PKGURL="$URL/deb/pool/main/y/$PKGNAME/$(epm print constructname $PKGNAME "$VERSION*" amd64 deb)"
......
......@@ -16,7 +16,7 @@ warn_version_is_not_supported
# https://repo.yandex.ru/yandex-disk/yandex-disk-latest.i386.rpm
# epm uses eget to download * names
PKGURL="https://repo.yandex.ru/yandex-disk/$(epm print constructname $PKGNAME "latest")" || fatal "Can't get package URL"
PKGURL="https://repo.yandex.ru/yandex-disk/$(epm print constructname $PKGNAME "latest")"
install_pkgurl
......
......@@ -24,6 +24,6 @@ case "$arch" in
;;
esac
PKGURL=$(eget --list --latest https://github.com/cucumber-sp/yandex-music-linux/releases "yandex-music_${VERSION}_${arch}.deb") || fatal "Can't get package URL"
PKGURL=$(eget --list --latest https://github.com/cucumber-sp/yandex-music-linux/releases "yandex-music_${VERSION}_${arch}.deb")
install_pkgurl
......@@ -49,7 +49,7 @@ if [ "$VERSION" = "*" ] ; then
fi
# hack with --compressed due broken answer from the server
PKGURL="$(eget --compressed --list --latest https://download.zerotier.com/RELEASES/$VERSION/dist/$dv/${PKGNAME}[-_]$VERSION*$arch.$pkg)" || fatal "Can't get package URL"
PKGURL="$(eget --compressed --list --latest https://download.zerotier.com/RELEASES/$VERSION/dist/$dv/${PKGNAME}[-_]$VERSION*$arch.$pkg)"
# TODO: install_pkgurl
epm install --scripts "$PKGURL"
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