mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
ignore snow package meta files whose installed files have been removed
This commit is contained in:
parent
64ff69e99b
commit
c82baa3aa9
1 changed files with 3 additions and 1 deletions
|
@ -1559,7 +1559,9 @@
|
|||
((and (equal? "meta" (path-extension file))
|
||||
(guard (exn (else #f))
|
||||
(let ((pkg (call-with-input-file file read)))
|
||||
(and (package? pkg) pkg))))
|
||||
(and (package? pkg)
|
||||
(every file-exists? (package-installed-files pkg))
|
||||
pkg))))
|
||||
=> (lambda (pkg)
|
||||
(append
|
||||
(map
|
||||
|
|
Loading…
Add table
Reference in a new issue