add post-install func

master
Matthew Butterick 4 years ago
parent 3d8a6e28c2
commit 5cc38ef78e

@ -70,4 +70,7 @@
(fasl->s-exp (open-input-file (and
(unless (file-exists? wordidx-file)
(regenerate-word-index!))
wordidx-file))))
wordidx-file))))
(define (post-installer home-dir)
(regenerate-word-index!))

@ -0,0 +1,3 @@
#lang info
(define post-install-collection "index.rkt")
Loading…
Cancel
Save