Commit 67ff0b77 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add missed quotes

parent 80ddf3cf
...@@ -9,6 +9,6 @@ TIPS="Run 'epm play 64gram=<version>' to install the version of the 64Gram Teleg ...@@ -9,6 +9,6 @@ TIPS="Run 'epm play 64gram=<version>' to install the version of the 64Gram Teleg
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
PKGURL=$(eget --list --latest https://github.com/TDesktop-x64/tdesktop/releases ${PKGNAME}_${VERSION}_linux.zip) PKGURL=$(eget --list --latest https://github.com/TDesktop-x64/tdesktop/releases "${PKGNAME}_${VERSION}_linux.zip")
epm --install pack $PKGNAME "$PKGURL" epm --install pack $PKGNAME "$PKGURL"
...@@ -9,7 +9,7 @@ URL="https://developer.android.com/studio" ...@@ -9,7 +9,7 @@ URL="https://developer.android.com/studio"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
PKGURL="$(eget --list --latest "https://developer.android.com/studio" $PKGNAME-$VERSION-linux.tar.gz)" PKGURL="$(eget --list --latest "https://developer.android.com/studio" "$PKGNAME-$VERSION-linux.tar.gz")"
else else
PKGURL="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/$VERSION/$PKGNAME-$VERSION-linux.tar.gz" PKGURL="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/$VERSION/$PKGNAME-$VERSION-linux.tar.gz"
fi fi
......
...@@ -19,7 +19,7 @@ URL="https://download.anydesk.com/linux/" ...@@ -19,7 +19,7 @@ URL="https://download.anydesk.com/linux/"
PKGMASK="$(epm print constructname $PKGNAME "$VERSION" '' '' '_')" PKGMASK="$(epm print constructname $PKGNAME "$VERSION" '' '' '_')"
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
PKGURL="$(eget --list --latest https://download.anydesk.com/linux/$PKGMASK)" PKGURL="$(eget --list --latest "https://download.anydesk.com/linux/$PKGMASK")"
else else
PKGURL="https://download.anydesk.com/linux/$PKGMASK" PKGURL="https://download.anydesk.com/linux/$PKGMASK"
fi fi
......
...@@ -14,7 +14,7 @@ DESCRIPTION="Brave browser from the official site" ...@@ -14,7 +14,7 @@ DESCRIPTION="Brave browser from the official site"
# hack to fix short name issue # hack to fix short name issue
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
VERSION="[[:digit:]]*" VERSION="[[:digit:]]*"
PKGURL=$(eget --list --latest https://github.com/brave/brave-browser/releases $(epm print constructname $PKGNAME "$VERSION")) PKGURL=$(eget --list --latest https://github.com/brave/brave-browser/releases "$(epm print constructname $PKGNAME "$VERSION")")
else else
OVERSION="$VERSION" OVERSION="$VERSION"
# rpm packages have a release in their names # rpm packages have a release in their names
......
...@@ -10,6 +10,6 @@ BASEPKGNAME=chromium ...@@ -10,6 +10,6 @@ BASEPKGNAME=chromium
# copied from /opt/vivaldi/update-ffmpeg # copied from /opt/vivaldi/update-ffmpeg
FFMPEG_VERSION_DEB=103.0.5060.134-0ubuntu0.18.04.1 # Internal FFMpeg version = 107578 FFMPEG_VERSION_DEB=103.0.5060.134-0ubuntu0.18.04.1 # Internal FFMpeg version = 107578
FFMPEG_URL_DEB=https://launchpadlibrarian.net/613925272/chromium-codecs-ffmpeg-extra_${FFMPEG_VERSION_DEB}_amd64.deb FFMPEG_URL_DEB="https://launchpadlibrarian.net/613925272/chromium-codecs-ffmpeg-extra_${FFMPEG_VERSION_DEB}_amd64.deb"
epm pack --install chromium-codecs-ffmpeg-extra $FFMPEG_URL_DEB epm pack --install chromium-codecs-ffmpeg-extra $FFMPEG_URL_DEB
...@@ -15,6 +15,6 @@ file="DuckStation-x64.AppImage" ...@@ -15,6 +15,6 @@ file="DuckStation-x64.AppImage"
# TODO: preview, previous-latest # TODO: preview, previous-latest
SELECTOR="preview" SELECTOR="preview"
PKGURL=$(eget --list https://github.com/stenzek/duckstation/releases $file | grep "/$SELECTOR/") PKGURL=$(eget --list https://github.com/stenzek/duckstation/releases "$file" | grep "/$SELECTOR/")
install_pack_pkgurl install_pack_pkgurl
...@@ -14,7 +14,7 @@ VERSION=9.6.2 ...@@ -14,7 +14,7 @@ VERSION=9.6.2
PKGURL="https://trial2.autodesk.com/NET17SWDLD/2017/EGLPRM/ESD/Autodesk_EAGLE_${VERSION}_English_Linux_64bit.tar.gz" PKGURL="https://trial2.autodesk.com/NET17SWDLD/2017/EGLPRM/ESD/Autodesk_EAGLE_${VERSION}_English_Linux_64bit.tar.gz"
IPFSURL="ipfs://Qmd38jJnTnUMUeJuKSDBGesqXF3SxEahUVZc6NUPyMKgj1?filename=Autodesk_EAGLE_9.6.2_English_Linux_64bit.tar.gz" IPFSURL="ipfs://Qmd38jJnTnUMUeJuKSDBGesqXF3SxEahUVZc6NUPyMKgj1?filename=Autodesk_EAGLE_9.6.2_English_Linux_64bit.tar.gz"
if ! eget --check-site $PKGURL ; then if ! eget --check-site "$PKGURL" ; then
echo "It is possible you are blocked from USA, trying via IPFS ..." echo "It is possible you are blocked from USA, trying via IPFS ..."
PKGURL="$IPFSURL" PKGURL="$IPFSURL"
fi fi
......
...@@ -11,7 +11,7 @@ URL="https://gitverse.ru/features/gigaide/#desktop" ...@@ -11,7 +11,7 @@ URL="https://gitverse.ru/features/gigaide/#desktop"
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
PKGURL="$(eget --list --latest https://gitverse.ru/features/gigaide/desktop/download/ $PKGNAME-$VERSION.tar.gz)" PKGURL="$(eget --list --latest https://gitverse.ru/features/gigaide/desktop/download/ $PKGNAME-$VERSION.tar.gz)"
else else
PKGURL=https://gigaide.ru/downloadlast/$PKGNAME-$VERSION.tar.gz PKGURL="https://gigaide.ru/downloadlast/$PKGNAME-$VERSION.tar.gz"
fi fi
install_pkgurl install_pkgurl
......
...@@ -28,7 +28,7 @@ case "$pkgtype" in ...@@ -28,7 +28,7 @@ case "$pkgtype" in
;; ;;
esac esac
PKGURL=$(eget --list --latest https://download.guardant.ru/LM/Linux/$VERSION/$shortarch/ "$file") PKGURL="$(eget --list --latest https://download.guardant.ru/LM/Linux/$VERSION/$shortarch/ "$file")"
install_pack_pkgurl "$VERSION" || exit install_pack_pkgurl "$VERSION" || exit
......
...@@ -20,7 +20,7 @@ export EGET_OPTIONS="--user-agent" ...@@ -20,7 +20,7 @@ export EGET_OPTIONS="--user-agent"
if [ "$(epm print compare "$VERSION" 3.25.2)" != "-1" ] ; then if [ "$(epm print compare "$VERSION" 3.25.2)" != "-1" ] ; then
#PKGURL="https://developers.hp.com/sites/default/files/hplip-$VERSION-plugin.run.zip" #PKGURL="https://developers.hp.com/sites/default/files/hplip-$VERSION-plugin.run.zip"
#PKGURL="https://developers.hp.com/system/files/2025-03/hplip-$VERSION-plugin_run.zip" #PKGURL="https://developers.hp.com/system/files/2025-03/hplip-$VERSION-plugin_run.zip"
PKGURL="$(eget --list https://developers.hp.com/hp-linux-imaging-and-printing/plugins hplip-$VERSION-plugin_run.zip)" PKGURL="$(eget --list https://developers.hp.com/hp-linux-imaging-and-printing/plugins "hplip-$VERSION-plugin_run.zip")"
else else
# https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-$VERSION-plugin.run # https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-$VERSION-plugin.run
PKGURL="https://developers.hp.com/sites/default/files/hplip-$VERSION-plugin.run" PKGURL="https://developers.hp.com/sites/default/files/hplip-$VERSION-plugin.run"
......
...@@ -16,7 +16,7 @@ fi ...@@ -16,7 +16,7 @@ fi
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
# Get latest version from vendor # Get latest version from vendor
VERSION=$(eget --list --latest https://repo.librewolf.net/pool/ | grep -oE '[0-9]+\.[0-9]+(\.[0-9]+)?') VERSION="$(eget --list --latest https://repo.librewolf.net/pool/ | grep -oE '[0-9]+\.[0-9]+(\.[0-9]+)?')"
fi fi
pkgtype=$(epm print info -p) pkgtype=$(epm print info -p)
......
...@@ -13,20 +13,20 @@ dversion="$(epm print info -v)" ...@@ -13,20 +13,20 @@ dversion="$(epm print info -v)"
case "$(epm print info -d)" in case "$(epm print info -d)" in
AstraLinux*) AstraLinux*)
epm install --skip-installed unixodbc || fatal epm install --skip-installed unixodbc || fatal
epm install https://packages.microsoft.com/debian/8/prod/pool/main/m/msodbcsql17/msodbcsql17_1*_amd64.deb epm install "https://packages.microsoft.com/debian/8/prod/pool/main/m/msodbcsql17/msodbcsql17_1*_amd64.deb"
epm install https://packages.microsoft.com/debian/8/prod/pool/main/m/mssql-tools/mssql-tools_1*_amd64.deb epm install "https://packages.microsoft.com/debian/8/prod/pool/main/m/mssql-tools/mssql-tools_1*_amd64.deb"
#epm install https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/m/mssql-tools/mssql-tools_1*_amd64.deb #epm install https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/m/mssql-tools/mssql-tools_1*_amd64.deb
#epm install https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/m/msodbcsql17/msodbcsql17_1*_amd64.deb #epm install https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/m/msodbcsql17/msodbcsql17_1*_amd64.deb
;; ;;
ALTLinux) ALTLinux)
epm install --skip-installed unixODBC || fatal epm install --skip-installed unixODBC || fatal
epm install --repack https://packages.microsoft.com/rhel/8/prod/Packages/m/mssql-tools-1*.x86_64.rpm epm install --repack "https://packages.microsoft.com/rhel/8/prod/Packages/m/mssql-tools-1*.x86_64.rpm"
epm install --repack https://packages.microsoft.com/rhel/8/prod/Packages/m/msodbcsql17-1*.x86_64.rpm epm install --repack "https://packages.microsoft.com/rhel/8/prod/Packages/m/msodbcsql17-1*.x86_64.rpm"
;; ;;
Debian|Ubuntu) Debian|Ubuntu)
epm install --skip-installed unixodbc || fatal epm install --skip-installed unixodbc || fatal
epm install https://packages.microsoft.com/$dname/$dversion/prod/pool/main/m/msodbcsql17/msodbcsql17_1*_amd64.deb epm install "https://packages.microsoft.com/$dname/$dversion/prod/pool/main/m/msodbcsql17/msodbcsql17_1*_amd64.deb"
epm install https://packages.microsoft.com/$dname/$dversion/prod/pool/main/m/mssql-tools/mssql-tools_1*_amd64.deb epm install "https://packages.microsoft.com/$dname/$dversion/prod/pool/main/m/mssql-tools/mssql-tools_1*_amd64.deb"
;; ;;
*) *)
fatal "$(epm print info -d) is not supported yet." fatal "$(epm print info -d) is not supported yet."
......
...@@ -10,7 +10,7 @@ URL="https://mts-link.ru/" ...@@ -10,7 +10,7 @@ URL="https://mts-link.ru/"
warn_version_is_not_supported warn_version_is_not_supported
PKGURL=https://apps.webinar.ru/desktop/latest/mts-link-desktop.AppImage PKGURL="https://apps.webinar.ru/desktop/latest/mts-link-desktop.AppImage"
install_pkgurl install_pkgurl
...@@ -9,7 +9,7 @@ URL="https://persepolisdm.github.io/" ...@@ -9,7 +9,7 @@ URL="https://persepolisdm.github.io/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
PKGURL=$(get_github_url "https://github.com/persepolisdm/persepolis/" "${PKGNAME}_${VERSION}_all.deb") PKGURL=$(get_github_url https://github.com/persepolisdm/persepolis/ "${PKGNAME}_${VERSION}_all.deb")
else else
PKGURL="https://github.com/persepolisdm/persepolis/releases/download/$VERSION/${PKGNAME}_${VERSION}_all.deb" PKGURL="https://github.com/persepolisdm/persepolis/releases/download/$VERSION/${PKGNAME}_${VERSION}_all.deb"
fi fi
......
...@@ -11,9 +11,11 @@ URL="https://salutejazz.ru/" ...@@ -11,9 +11,11 @@ URL="https://salutejazz.ru/"
pkgtype=$(epm print info -p) pkgtype=$(epm print info -p)
case $pkgtype in case $pkgtype in
deb) deb)
PKGURL="https://dl.salutejazz.ru/desktop/latest/jazz.deb" ;; PKGURL="https://dl.salutejazz.ru/desktop/latest/jazz.deb"
;;
*) *)
PKGURL="https://dl.salutejazz.ru/desktop/latest/jazz.AppImage" ;; PKGURL="https://dl.salutejazz.ru/desktop/latest/jazz.AppImage"
;;
esac esac
install_pkgurl install_pkgurl
...@@ -14,7 +14,7 @@ arch=$(epm print info -a) ...@@ -14,7 +14,7 @@ arch=$(epm print info -a)
BUILD_ID=$(eget --list https://copr.fedorainfracloud.org/coprs/lizardbyte/stable/package/Sunshine/ | grep -o 'build/[0-9]\+' | cut -d/ -f2 | sort -n | tail -n1) BUILD_ID=$(eget --list https://copr.fedorainfracloud.org/coprs/lizardbyte/stable/package/Sunshine/ | grep -o 'build/[0-9]\+' | cut -d/ -f2 | sort -n | tail -n1)
PKGURL=$(eget --list --latest https://download.copr.fedorainfracloud.org/results/lizardbyte/stable/fedora-41-$arch/0$BUILD_ID-Sunshine/ Sunshine-*.rpm) PKGURL=$(eget --list --latest https://download.copr.fedorainfracloud.org/results/lizardbyte/stable/fedora-41-$arch/0$BUILD_ID-Sunshine/ "Sunshine-*.rpm")
install_pkgurl install_pkgurl
......
...@@ -26,7 +26,7 @@ esac ...@@ -26,7 +26,7 @@ esac
#PKGURL="http://download.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-$VERSION/SweetHome3D-$VERSION-linux-$arch.tgz" #PKGURL="http://download.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-$VERSION/SweetHome3D-$VERSION-linux-$arch.tgz"
# http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.1/SweetHome3D-7.1-linux-x86.tgz/download # http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.1/SweetHome3D-7.1-linux-x86.tgz/download
URL="$(eget -4 --list --latest https://www.sweethome3d.com/download.jsp SweetHome3D-$VERSION-linux-$arch.tgz/download)" URL="$(eget -4 --list --latest https://www.sweethome3d.com/download.jsp "SweetHome3D-$VERSION-linux-$arch.tgz/download")"
PKGURL="$(echo "$URL" | sed -e "s|https*://sourceforge.net/projects/sweethome3d/files|https://download.sourceforge.net/project/sweethome3d|" -e 's|/download$||' )" PKGURL="$(echo "$URL" | sed -e "s|https*://sourceforge.net/projects/sweethome3d/files|https://download.sourceforge.net/project/sweethome3d|" -e 's|/download$||' )"
install_pkgurl install_pkgurl
...@@ -24,6 +24,6 @@ esac ...@@ -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_amd64.deb
# https://github.com/tonkeeper/tonkeeper-web/releases/download/v3.7.1/Tonkeeper-3.7.1-1.x86_64.rpm # 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)) PKGURL=$(eget --list --latest https://github.com/tonkeeper/tonkeeper-web/releases "$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype)")
install_pkgurl install_pkgurl
...@@ -21,6 +21,6 @@ case "$arch" in ...@@ -21,6 +21,6 @@ case "$arch" in
;; ;;
esac esac
PKGURL=$(eget --list --latest $URL $(epm print constructname Trezor-Suite "$VERSION" linux-$arch AppImage "-" "-")) PKGURL=$(eget --list --latest $URL "$(epm print constructname Trezor-Suite "$VERSION" linux-$arch AppImage "-" "-")")
install_pkgurl install_pkgurl
...@@ -9,6 +9,6 @@ URL="https://cyberbotics.com/" ...@@ -9,6 +9,6 @@ URL="https://cyberbotics.com/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
PKGURL=$(eget --list --latest https://github.com/cyberbotics/webots/releases/"*.deb") PKGURL=$(eget --list --latest "https://github.com/cyberbotics/webots/releases/*.deb")
install_pkgurl install_pkgurl
...@@ -10,7 +10,7 @@ TIPS="Run epm play wpsoffice=<version> to install some specific version" ...@@ -10,7 +10,7 @@ TIPS="Run epm play wpsoffice=<version> to install some specific version"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
VERSION=$(eget -O- https://www.wps.com/whatsnew/linux/ | grep -oP "\W(\d+\.\d+\.\d+\.\d+)\W" | grep -oP "\d+\.\d+\.\d+\.\d+" | head -n1) VERSION="$(eget -O- https://www.wps.com/whatsnew/linux/ | grep -oP "\W(\d+\.\d+\.\d+\.\d+)\W" | grep -oP "\d+\.\d+\.\d+\.\d+" | head -n1)" #"
VERSION="${VERSION}.XA" VERSION="${VERSION}.XA"
fi fi
......
...@@ -31,6 +31,6 @@ case $(epm print info -a) in ...@@ -31,6 +31,6 @@ case $(epm print info -a) in
fatal "Unsupported arch $arch for $(epm print info -d)" ;; fatal "Unsupported arch $arch for $(epm print info -d)" ;;
esac esac
PKGURL="$(eget --list --latest https://github.com/th-ch/youtube-music/releases/ $mask)" PKGURL="$(eget --list --latest https://github.com/th-ch/youtube-music/releases/ "$mask")"
install_pkgurl install_pkgurl
...@@ -15,7 +15,7 @@ case "$arch" in ...@@ -15,7 +15,7 @@ case "$arch" in
esac esac
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
VERSION=$(eget -O- https://releases.yucca.app/latest/VERSION.txt) VERSION="$(eget -O- https://releases.yucca.app/latest/VERSION.txt)"
fi fi
PKGURL="https://releases.yucca.app/v${VERSION}/yucca_${VERSION}_linux_${arch}.tar.gz" PKGURL="https://releases.yucca.app/v${VERSION}/yucca_${VERSION}_linux_${arch}.tar.gz"
......
...@@ -44,12 +44,12 @@ dv=$distr/$repo ...@@ -44,12 +44,12 @@ dv=$distr/$repo
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
# hack with --compressed due broken answer from the server # hack with --compressed due broken answer from the server
RELEASEURL=$(eget --compressed --list --latest https://download.zerotier.com/RELEASES/*) || fatal RELEASEURL=$(eget --compressed --list --latest "https://download.zerotier.com/RELEASES/*") || fatal
VERSION="$(basename $RELEASEURL)" VERSION="$(basename $RELEASEURL)"
fi fi
# hack with --compressed due broken answer from the server # 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)" PKGURL="$(eget --compressed --list --latest "https://download.zerotier.com/RELEASES/$VERSION/dist/$dv/${PKGNAME}[-_]$VERSION*$arch.$pkg")"
# TODO: install_pkgurl # TODO: install_pkgurl
epm install --scripts "$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