diff options
author | Erich Eckner <git@eckner.net> | 2018-08-10 15:22:55 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-08-10 15:22:55 +0200 |
commit | 6a130bfc60a27b789dfbd5503c8e8e75c968389d (patch) | |
tree | a0033aee1f5044bfc6126bc2dc9408775a899b68 /core/linux-lts | |
parent | 21ae949aaf08083cbae30d64ee1650adccc365dd (diff) | |
download | packages-6a130bfc60a27b789dfbd5503c8e8e75c968389d.tar.xz |
core/linux-lts: make index of "config" in "sources" irrelevant
Diffstat (limited to 'core/linux-lts')
-rw-r--r-- | core/linux-lts/PKGBUILD | 8 |
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 | \ |