Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux-lts
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-08-10 19:18:14 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-08-10 19:18:14 +0000
commit2e3505e9700e3a3424c9ea101df75656fe139427 (patch)
treeb41e60034b4533c2a5f757b0faed5bb15b1430a2 /core/linux-lts
parentb564ab6807cc8133142c88cb180e4784881e95cf (diff)
parent6a130bfc60a27b789dfbd5503c8e8e75c968389d (diff)
Merge branch 'master' into i486
Diffstat (limited to 'core/linux-lts')
-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 | \