fix installation path of "Racket Documentation"

Put it in the user-specific directory when its package is installed
in a user scope.
This commit is contained in:
Matthew Flatt 2013-11-19 16:25:50 -07:00
parent 30af4dfb33
commit 2f464916a9

View File

@ -27,11 +27,9 @@
(for ([variant (remove* '(script-3m script-cgc) (variants))])
(parameterize ([current-launcher-variant variant])
(mk-launcher '("-l-" "help/help")
(mk-path (if mr? "Racket Documentation" "plt-help"))
(mk-path (if mr? "Racket Documentation" "plt-help") #:user? user?)
`([exe-name . ,(if mr? "Racket Documentation" "plt-help")]
[relative? . #t]
[framework-root . #f]
[dll-dir . #f]
[relative? . ,(not user?)]
[install-mode . ,(if user? 'user 'main)]
[start-menu? . #t]
,@extras))))))