switch raco pkg install' to use file/unzip'

This commit is contained in:
Matthew Flatt 2012-11-20 09:43:45 -07:00
parent 8a77d87a30
commit 376b1f373a

View File

@ -19,6 +19,7 @@
unstable/debug unstable/debug
racket/string racket/string
file/untgz file/untgz
file/unzip
"util.rkt" "util.rkt"
"util-plt.rkt") "util-plt.rkt")
@ -300,8 +301,7 @@
[#"tgz" [#"tgz"
(untar pkg pkg-dir)] (untar pkg pkg-dir)]
[#"zip" [#"zip"
(system* (find-executable-path "unzip") (unzip pkg (make-filesystem-entry-reader #:dest pkg-dir))]
"-n" pkg "-d" pkg-dir)]
[#"plt" [#"plt"
(unplt pkg pkg-dir)] (unplt pkg pkg-dir)]
[x [x