raco pkg catalog-archive: fix handling of source with no checksum
This commit is contained in:
parent
a718aeb441
commit
ae2b0b93a1
|
@ -3286,8 +3286,8 @@
|
||||||
(define new-checksum
|
(define new-checksum
|
||||||
(file->string (path-replace-suffix pkg-file #".zip.CHECKSUM")))
|
(file->string (path-replace-suffix pkg-file #".zip.CHECKSUM")))
|
||||||
(parameterize ([db:current-pkg-catalog-file temp-catalog-file])
|
(parameterize ([db:current-pkg-catalog-file temp-catalog-file])
|
||||||
(define modules (db:get-pkg-modules name (db:pkg-catalog pkg) current-checksum))
|
(define modules (db:get-pkg-modules name (db:pkg-catalog pkg) (or current-checksum "")))
|
||||||
(define dependencies (db:get-pkg-dependencies name (db:pkg-catalog pkg) current-checksum))
|
(define dependencies (db:get-pkg-dependencies name (db:pkg-catalog pkg) (or current-checksum "")))
|
||||||
(db:set-pkg! name (db:pkg-catalog pkg)
|
(db:set-pkg! name (db:pkg-catalog pkg)
|
||||||
(db:pkg-author pkg)
|
(db:pkg-author pkg)
|
||||||
(path->string (path->complete-path pkg-file))
|
(path->string (path->complete-path pkg-file))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user