index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-07-01 13:49:20 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-07-01 13:49:20 +0200 |
commit | 6801a806c1f4ed6e0025f6befa4c50a24d65f8dd (patch) | |
tree | 22a08464a099179f04aa591e5cfbbef6cf747a3f /update-archlinux32-package | |
parent | bd2aae694f4ea88bc9d49efbac60381e3110621e (diff) |
-rwxr-xr-x | update-archlinux32-package | 13 |
diff --git a/update-archlinux32-package b/update-archlinux32-package index 256daa0..aaece52 100755 --- a/update-archlinux32-package +++ b/update-archlinux32-package @@ -80,16 +80,17 @@ update_checksum() { ' \ </dev/null \ | sed ' - $! s/$/\\n/ - ' | \ - tr -d '\n' + $! s/$/\\n/ + ' | \ + tr -d '\n' ) sed -i ' /^\S\+sums=(/{ :a - N - /)/!ba - s/^\S\+sums=(.*)/'"${checksums}"'/ + s/^\S\+sums=(.*)/'"${checksums}"'/ + t + N + ba } ' "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" } |