Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 | \