Commit 372f83eb authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add quotes for eget --list mask

parent ebd40bd0
...@@ -41,7 +41,7 @@ PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch '' '_')" ...@@ -41,7 +41,7 @@ PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch '' '_')"
# lib.req: WARNING: /usr/bin/anydesk: library libpangox-1.0.so.0 not found # 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)" #[ "$(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")" || fatal "Can't get package URL"
epm $repack install "$PKGURL" || exit epm $repack install "$PKGURL" || exit
......
...@@ -18,7 +18,7 @@ case $pkgtype in ...@@ -18,7 +18,7 @@ case $pkgtype in
;; ;;
esac 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") || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -30,7 +30,7 @@ case "$arch-$pkgtype" in ...@@ -30,7 +30,7 @@ case "$arch-$pkgtype" in
esac esac
PKGURL=$(eget --list --latest https://github.com/VSCodium/vscodium/releases $(epm print constructname $PKGNAME "$VERSION*" $arch $pkgtype)) || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://github.com/VSCodium/vscodium/releases "$(epm print constructname $PKGNAME "$VERSION*" $arch $pkgtype)")" || fatal "Can't get package URL"
# we have workaround for their postinstall script, so always repack rpm package # we have workaround for their postinstall script, so always repack rpm package
[ "$pkgtype" = "deb" ] || repack='--repack' [ "$pkgtype" = "deb" ] || repack='--repack'
......
...@@ -19,7 +19,7 @@ esac ...@@ -19,7 +19,7 @@ esac
arch=amd64 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") || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -25,7 +25,7 @@ case "$pkgtype" in ...@@ -25,7 +25,7 @@ case "$pkgtype" in
;; ;;
esac 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") || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -18,7 +18,7 @@ case $pkgtype in ...@@ -18,7 +18,7 @@ case $pkgtype in
;; ;;
esac 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")" || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -36,5 +36,5 @@ case "$arch" in ...@@ -36,5 +36,5 @@ case "$arch" in
esac esac
PKGURL="$(eget --list --latest https://github.com/ipfs/kubo/releases ${BASEPKGNAME}_v$VERSION$file)" PKGURL="$(eget --list --latest https://github.com/ipfs/kubo/releases "${BASEPKGNAME}_v$VERSION$file")"
epm pack --install $PKGNAME "$PKGURL" epm pack --install $PKGNAME "$PKGURL"
...@@ -36,6 +36,6 @@ if [ -z "$PKG" ] ; then ...@@ -36,6 +36,6 @@ if [ -z "$PKG" ] ; then
esac esac
fi 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") || fatal "Can't get package URL"
epm $repack install "$PKGURL" epm $repack install "$PKGURL"
...@@ -8,7 +8,7 @@ URL="https://neovide.dev/" ...@@ -8,7 +8,7 @@ URL="https://neovide.dev/"
. $(dirname $0)/common.sh . $(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") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -10,7 +10,7 @@ URL="https://www.downloadhelper.net/install-coapp" ...@@ -10,7 +10,7 @@ URL="https://www.downloadhelper.net/install-coapp"
mask="$PKGNAME-${VERSION}_amd64.deb" mask="$PKGNAME-${VERSION}_amd64.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") || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -34,7 +34,7 @@ case "$(epm print info -s)" in ...@@ -34,7 +34,7 @@ case "$(epm print info -s)" in
esac esac
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
PKGURL="$(eget --list --latest https://github.com/ONLYOFFICE/DesktopEditors/releases $file)" PKGURL="$(eget --list --latest https://github.com/ONLYOFFICE/DesktopEditors/releases "$file")"
else else
PKGURL="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v$VERSION/$file" PKGURL="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v$VERSION/$file"
fi fi
......
...@@ -11,7 +11,7 @@ URL="https://github.com/pachca/pachca-desktop" ...@@ -11,7 +11,7 @@ URL="https://github.com/pachca/pachca-desktop"
arch="$(epm print info --debian-arch)" arch="$(epm print info --debian-arch)"
file="${PKGNAME}_${VERSION}_$arch.deb" 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") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -11,6 +11,6 @@ URL="https://github.com/PCSX2/pcsx2/releases" ...@@ -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 # 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" 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") || fatal "Can't get package URL"
epm pack --install "$PKGNAME" "$PKGURL" epm pack --install "$PKGNAME" "$PKGURL"
...@@ -31,7 +31,7 @@ repack='' ...@@ -31,7 +31,7 @@ repack=''
# https://pencil.evolus.vn/dl/V3.1.1.ga/Pencil_3.1.1.ga_amd64.deb # https://pencil.evolus.vn/dl/V3.1.1.ga/Pencil_3.1.1.ga_amd64.deb
# https://pencil.evolus.vn/dl/V3.1.1.ga/Pencil_3.1.1.ga_i386.deb # https://pencil.evolus.vn/dl/V3.1.1.ga/Pencil_3.1.1.ga_i386.deb
PKGMASK="$(epm print constructname $PKGNAME "$VERSION.ga" $arch)" mask="$(epm print constructname $PKGNAME "$VERSION.ga" $arch)"
PKGURL="$(eget --list --latest https://pencil.evolus.vn/Downloads.html $PKGMASK)" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://pencil.evolus.vn/Downloads.html "$mask")" || fatal "Can't get package URL"
epm $repack install "$PKGURL" epm $repack install "$PKGURL"
...@@ -9,7 +9,7 @@ DESCRIPTION='PortProton (from the repository if the package is there, or from th ...@@ -9,7 +9,7 @@ DESCRIPTION='PortProton (from the repository if the package is there, or from th
res=0 res=0
if ! epm install portproton ; then if ! epm install portproton ; then
PKGURL="$(eget --list --latest https://github.com/Castro-Fidel/PortProton_dpkg/releases portproton_${VERSION}amd64.deb)" PKGURL="$(eget --list --latest https://github.com/Castro-Fidel/PortProton_dpkg/releases "portproton_${VERSION}amd64.deb")"
epm install $PKGURL epm install $PKGURL
res=$? res=$?
fi fi
......
...@@ -26,7 +26,7 @@ case $(epm print info -e) in ...@@ -26,7 +26,7 @@ case $(epm print info -e) in
;; ;;
esac esac
PKGURL=$(eget --list --latest $BASEURL $file) || fatal "Can't get package URL" PKGURL=$(eget --list --latest $BASEURL "$file") || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -16,16 +16,16 @@ repack='' ...@@ -16,16 +16,16 @@ repack=''
case $pkgtype-$arch in case $pkgtype-$arch in
rpm-x86_64) rpm-x86_64)
PKG="VNC-Server-$VERSION-Linux-x64.rpm" mask="VNC-Server-$VERSION-Linux-x64.rpm"
;; ;;
*-x86_64) *-x86_64)
PKG="VNC-Server-$VERSION-Linux-x64.deb" mask="VNC-Server-$VERSION-Linux-x64.deb"
;; ;;
*) *)
fatal "Unsupported arch" fatal "Unsupported arch"
;; ;;
esac esac
PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/vnc/ $PKG) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/vnc/ "$mask") || fatal "Can't get package URL"
epm $repack install $PKGURL epm $repack install $PKGURL
...@@ -32,6 +32,6 @@ case $pkgtype-$arch in ...@@ -32,6 +32,6 @@ case $pkgtype-$arch in
;; ;;
esac esac
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") || fatal "Can't get package URL"
epm $repack install $PKGURL epm $repack install $PKGURL
...@@ -10,6 +10,6 @@ URL="https://rpcs3.net/download" ...@@ -10,6 +10,6 @@ URL="https://rpcs3.net/download"
file="rpcs3-v${VERSION}-*-*_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") || fatal "Can't get package URL"
epm pack --install "$PKGNAME" "$PKGURL" epm pack --install "$PKGNAME" "$PKGURL"
...@@ -41,6 +41,6 @@ case $(epm print info -e) in ...@@ -41,6 +41,6 @@ case $(epm print info -e) in
esac esac
PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype "-" "-")" 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")" || fatal "Can't get package URL"
epm install $repack "$PKGURL" epm install $repack "$PKGURL"
...@@ -11,8 +11,8 @@ URL="https://slack.com" ...@@ -11,8 +11,8 @@ URL="https://slack.com"
arch=x86_64 arch=x86_64
pkgtype=rpm pkgtype=rpm
PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype)" mask="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype)"
PKGURL="$(eget --list --latest https://slack.com/downloads/instructions/fedora $PKGMASK)" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://slack.com/downloads/instructions/fedora "$mask")" || fatal "Can't get package URL"
[ -n "$PKGURL" ] || fatal "Can't get package URL" [ -n "$PKGURL" ] || fatal "Can't get package URL"
epm install --repack "$PKGURL" epm install --repack "$PKGURL"
...@@ -15,6 +15,6 @@ fi ...@@ -15,6 +15,6 @@ fi
[ "$VERSION" != "*" ] && VERSION="$VERSION-1.1" [ "$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") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -12,7 +12,7 @@ arch="$(epm print info -a)" ...@@ -12,7 +12,7 @@ arch="$(epm print info -a)"
mask="dhcoapp-noffmpeg-linux-$arch.deb" 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") || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -11,7 +11,7 @@ URL="https://vinteo.com" ...@@ -11,7 +11,7 @@ URL="https://vinteo.com"
arch=amd64 arch=amd64
pkgtype=deb pkgtype=deb
[ "$VERSION" = "*" ] && VERSION="$(eget --list --latest https://download.vinteo.com/VinteoClient/linux/3.* | xargs basename)" [ "$VERSION" = "*" ] && VERSION="$(eget --list --latest "https://download.vinteo.com/VinteoClient/linux/3.*" | xargs basename)"
[ -n "$VERSION" ] || fatal "Can't get version" [ -n "$VERSION" ] || fatal "Can't get version"
# use rpm, but not for ALT # use rpm, but not for ALT
......
...@@ -11,6 +11,6 @@ URL="https://github.com/nroduit/Weasis" ...@@ -11,6 +11,6 @@ URL="https://github.com/nroduit/Weasis"
arch="$(epm print info --debian-arch)" arch="$(epm print info --debian-arch)"
file="weasis_$VERSION-1_$arch.deb" 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") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -14,7 +14,7 @@ URL="https://wingware.com/" ...@@ -14,7 +14,7 @@ URL="https://wingware.com/"
BASEURL="https://wingware.com/pub/wing-personal" BASEURL="https://wingware.com/pub/wing-personal"
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
DIRVERSION="$(eget --list --latest $BASEURL/10.* | xargs basename)" DIRVERSION="$(eget --list --latest "$BASEURL/10.*" | xargs basename)"
VERSION="$(echo $DIRVERSION | sed -e 's|\.[0-9]$||')" VERSION="$(echo $DIRVERSION | sed -e 's|\.[0-9]$||')"
else else
# TODO: get full version from site # TODO: get full version from site
...@@ -33,7 +33,7 @@ case $pkgtype in ...@@ -33,7 +33,7 @@ case $pkgtype in
;; ;;
esac esac
PKGURL="$(eget --list --latest $BASEURL/$DIRVERSION/ $mask)" || fatal "Can't get package URL" PKGURL="$(eget --list --latest $BASEURL/$DIRVERSION/ "$mask")" || fatal "Can't get package URL"
#PKGURL="https://wingware.com/pub/wing-personal/$VERSION/$mask" #PKGURL="https://wingware.com/pub/wing-personal/$VERSION/$mask"
repack='' repack=''
......
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