SHARE
TWEET

Untitled

a guest Jun 13th, 2017 498 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. From e073649e657653dd6ffadf605d51a980cf6498c4 Mon Sep 17 00:00:00 2001
  2. From: zeromake <a390720046@gmail.com>
  3. Date: Wed, 14 Jun 2017 09:38:32 +0800
  4. Subject: [PATCH] fix: _sha512sum error
  5.  
  6. ---
  7.  PKGBUILD | 2 +-
  8.  1 file changed, 1 insertion(+), 1 deletion(-)
  9.  
  10. diff --git a/PKGBUILD b/PKGBUILD
  11. index bf965e0..dc3aef6 100644
  12. --- a/PKGBUILD
  13. +++ b/PKGBUILD
  14. @@ -19,7 +19,7 @@ provides=("firefox=$pkgver")
  15.  install=$pkgname.install
  16.  _baseurl="https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/"
  17.  _filename="firefox-${pkgver}.zh-CN.linux-${CARCH}"
  18. -_sha512sum="$(curl -s "${_baseurl}${_filename}.checksums" | grep "${_filename}.tar.bz2" | grep sha512 | cut -d " " -f1)"
  19. +_sha512sum="$(curl -s "${_baseurl}${_filename}.checksums" | grep "${_filename}.tar.bz2$" | grep sha512 | cut -d " " -f1)"
  20.  source=("$pkgname.desktop"
  21.          "vendor.js"
  22.          "${_baseurl}${_filename}.tar.bz2")
  23. --
  24. 2.13.0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top