Updated installers to use version in name

This commit is contained in:
Caleb Bassi 2018-02-19 22:34:49 -08:00
parent f9018aa076
commit bb5ff091be
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ print_error() {
}
install() {
curl -L https://github.com/cjbassi/gotop/releases/download/$VERSION/gotop-${1}.tgz > /tmp/gotop.tgz
curl -L https://github.com/cjbassi/gotop/releases/download/$VERSION/gotop-$VERSION-${1}.tgz > /tmp/gotop.tgz
tar xf /tmp/gotop.tgz -C /usr/bin
rm /tmp/gotop.tgz
}

View File

@ -18,7 +18,7 @@ case "$CARCH" in
;;
esac
source=("https://github.com/cjbassi/gotop/releases/download/$pkgver/gotop-linux_$_arch.tgz")
source=("https://github.com/cjbassi/gotop/releases/download/$pkgver/gotop-$pkgver-linux_$_arch.tgz")
md5sums=("SKIP")
package() {