index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2012-03-08 18:08:15 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-08 18:08:15 -0600 |
commit | 8de0631edbd1fd7681f6a924f5e166621328c13f (patch) | |
tree | 228db78143b109eeafdcd386354a2e09f561c854 /scripts/repo-add.sh.in | |
parent | f34864cc9e4e755f2add7581419f4ec1c2525fe0 (diff) | |
parent | 1a8c3e52d70bfa21ba108aa77179adf90401949d (diff) |
-rw-r--r-- | scripts/repo-add.sh.in | 6 |
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index b113badb..043a0b86 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -144,7 +144,7 @@ db_write_delta() { # get md5sum and compressed size of package md5sum="$(openssl dgst -md5 "$deltafile")" md5sum="${md5sum##* }" - csize=$(@SIZECMD@ "$deltafile") + csize=$(@SIZECMD@ -L "$deltafile") oldfile=$(xdelta3 printhdr $deltafile | grep "XDELTA filename (source)" | sed 's/.*: *//') newfile=$(xdelta3 printhdr $deltafile | grep "XDELTA filename (output)" | sed 's/.*: *//') @@ -294,7 +294,7 @@ db_write_entry() { # compute base64'd PGP signature if [[ -f "$pkgfile.sig" ]]; then - pgpsigsize=$(@SIZECMD@ "$pkgfile.sig") + pgpsigsize=$(@SIZECMD@ -L "$pkgfile.sig") if (( pgpsigsize > 16384 )); then error "$(gettext "Invalid package signature file '%s'.")" "$pkgfile.sig" return 1 @@ -303,7 +303,7 @@ db_write_entry() { pgpsig=$(openssl base64 -in "$pkgfile.sig" | tr -d '\n') fi - csize=$(@SIZECMD@ "$pkgfile") + csize=$(@SIZECMD@ -L "$pkgfile") # compute checksums msg2 "$(gettext "Computing checksums...")" |