diff options
author | Greyson Christoforo | 2023-03-19 00:57:26 +0000 |
---|---|---|
committer | Greyson Christoforo | 2023-03-19 00:57:26 +0000 |
commit | 26159a9cb07ca2dc6f3d8d0c5a6ebc31267dfbea (patch) | |
tree | fc2c866501a0d52ff88fd9cbe004308c60cb439f | |
parent | d33a69ae52cf12f479882c7e245c9fdd4c0659fa (diff) | |
download | aur-26159a9cb07ca2dc6f3d8d0c5a6ebc31267dfbea.tar.gz |
use variable
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ pkgver() { } prepare() { - _sha=$(curl -s https://download.redisinsight.redis.com/latest/latest-linux.yml | yq -r '.sha512' | base64 -d | od -t x1 -An | tr -d ' \n') + _sha=$(curl -s https://download.redisinsight.redis.com/latest/${_static_meta} | yq -r '.sha512' | base64 -d | od -t x1 -An | tr -d ' \n') echo "${_sha} ${pkgname}-${pkgver}.AppImage" > csum.txt sha512sum -c csum.txt rm csum.txt |