Updated installers to use version in name
This commit is contained in:
parent
f9018aa076
commit
bb5ff091be
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user