summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyano Hao2017-09-23 10:11:47 +0800
committerCyano Hao2017-09-23 10:11:47 +0800
commit20585fdcfb426e641e73c0aacab3c77136a39b09 (patch)
treeebccdb05ddaf76dca1cc797f083f62ce8df908f4
parent126ba74081143466b7ad1a78f4efdc58e6b027bd (diff)
downloadaur-20585fdcfb426e641e73c0aacab3c77136a39b09.tar.gz
fix pkgver
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5462e7246e0..ac6adb591a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ url="https://www.mozilla.org/${_lang}/${_name}/${_channel}"
_version=58.0a1
declare -A _build_id
_build_id=(
- [id]="$(curl https://ftp.mozilla.org/pub/${_name}/${_channel}/latest-mozilla-central-l10n/${_name}-${_version}.${_lang}.linux-${CARCH}.checksums | grep '.partial.mar' | cut -f4 | grep -E -o '[[:digit:]]{14}' | sort | tail -n1)"
+ [id]="$(curl https://ftp.mozilla.org/pub/${_name}/${_channel}/latest-mozilla-central-l10n/${_name}-${_version}.${_lang}.linux-${CARCH}.checksums | grep '.partial.mar' | cut -d' ' -f4 | grep -E -o '[[:digit:]]{14}' | sort | tail -n1)"
[year]="${_build_id[id]:0:4}"
[month]="${_build_id[id]:4:2}"
[day]="${_build_id[id]:6:2}"