index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2011-12-22 16:51:22 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-28 22:27:02 -0600 |
commit | 1b461374264abd62c54133e544dedd5feb866043 (patch) | |
tree | fe838b982272dc314579fdd4fd6ecdc45770d9b0 /scripts/makepkg.sh.in | |
parent | a77e638c773d8a492f8c48e8c15474030a7e3d71 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 18 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index a4a3d13d..64b33c68 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -663,14 +663,18 @@ check_checksums() { fi if (( $found )) ; then - local expectedsum=$(tr '[:upper:]' '[:lower:]' <<< "${integrity_sums[$idx]}") - local realsum="$(openssl dgst -${integ} "$file")" - realsum="${realsum##* }" - if [[ $expectedsum = $realsum ]]; then - echo "$(gettext "Passed")" >&2 + if [[ ${integrity_sums[$idx]} = 'SKIP' ]]; then + echo "$(gettext "Skipped")" >&2 else - echo "$(gettext "FAILED")" >&2 - errors=1 + local expectedsum=$(tr '[:upper:]' '[:lower:]' <<< "${integrity_sums[$idx]}") + local realsum="$(openssl dgst -${integ} "$file")" + realsum="${realsum##* }" + if [[ $expectedsum = $realsum ]]; then + echo "$(gettext "Passed")" >&2 + else + echo "$(gettext "FAILED")" >&2 + errors=1 + fi fi fi |