Commit 23cd3399 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: fix download name in various scripts

parent b28a9245
......@@ -13,5 +13,7 @@ esac
. $(dirname $0)/common.sh
[ "$VERSION" = "*" ] && VERSION="[0-9]*"
PKGURL=$(epm tool eget --list --latest https://rudesktop.ru/ $PKGNAME-$VERSION.deb)
epm install $PKGURL
......@@ -8,6 +8,6 @@ DOWNURL="https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop"
. $(dirname $0)/common.sh
URL=$(epm tool eget --list --latest http://mirror.cs.uchicago.edu/signal/pool/main/s/signal-desktop/ '${PKGNAME}_${VERSION}_amd64.deb')
URL=$(epm tool eget --list --latest http://mirror.cs.uchicago.edu/signal/pool/main/s/signal-desktop/ "${PKGNAME}_${VERSION}_amd64.deb")
URL=$(echo "$URL" | sed -e "s|\(.*/\)|$DOWNURL/|")
epm install "$URL"
......@@ -2,7 +2,6 @@
PKGNAME="teamviewer"
SUPPORTEDARCHES="x86_64 armhf"
VERSION="$2"
DESCRIPTION="Teamviewer from the official site"
. $(dirname $0)/common.sh
......@@ -27,7 +26,7 @@ repack=''
[ "$(epm print info -p)" = "deb" ] || repack='--repack'
# epm uses eget to download * names
epm $repack install "https://download.teamviewer.com/download/linux/$(epm print constructname $PKGNAME "$VERSION")" || exit
epm $repack install "https://download.teamviewer.com/download/linux/$(epm print constructname $PKGNAME)" || exit
cat <<EOF
......
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