Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-08-10 15:22:55 +0200
committerErich Eckner <git@eckner.net>2018-08-10 15:22:55 +0200
commit6a130bfc60a27b789dfbd5503c8e8e75c968389d (patch)
treea0033aee1f5044bfc6126bc2dc9408775a899b68 /core/linux-lts/PKGBUILD
parent21ae949aaf08083cbae30d64ee1650adccc365dd (diff)
core/linux-lts: make index of "config" in "sources" irrelevant
Diffstat (limited to 'core/linux-lts/PKGBUILD')
-rw-r--r--core/linux-lts/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/linux-lts/PKGBUILD b/core/linux-lts/PKGBUILD
index e0cd2b31..d194aaf0 100644
--- a/core/linux-lts/PKGBUILD
+++ b/core/linux-lts/PKGBUILD
@@ -1,9 +1,11 @@
# upstream git revision: 18de895704e0dd68b27af8ee4a108bf448805101
# fail if upstream's .config changes
-if [ "${sha256sums[4]}" = 'c645053c4525a1a70d5c10b52257ac136da7e9059b6a4a566a857a3d42046426' ]; then
- sha256sums[4]='15ac94245d0de07d062665cc14169151179049948119f92949e3bd0fbdb4af41'
-fi
+for ((i=0; i<${#sha256sums[@]}; i++)); do
+ if [ "${sha256sums[${i}]}" = 'c645053c4525a1a70d5c10b52257ac136da7e9059b6a4a566a857a3d42046426' ]; then
+ sha256sums[${i}]='15ac94245d0de07d062665cc14169151179049948119f92949e3bd0fbdb4af41'
+ fi
+done
eval "$(
declare -f package_linux-lts-headers | \