-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathinstall.lisp
More file actions
25 lines (22 loc) · 1.14 KB
/
Copy pathinstall.lisp
File metadata and controls
25 lines (22 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
;;; SPDX-License-Identifier: MPL-2.0
;;;
;;; This Source Code Form is subject to the terms of the Mozilla Public
;;; License, v. 2.0. If a copy of the MPL was not distributed with this
;;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
(handler-bind ((error (lambda (c)
(let ((restart
(find-if (lambda (restart-name)
(string-equal "USE-HTTPS-SESSION"
(symbol-name restart-name)))
(compute-restarts c)
:key #'restart-name)))
(cond
(restart
(invoke-restart restart))
(t
(format *error-output* "~%Installation failed~%~A~%" c)
(uiop:quit 1)))))))
(uiop:symbol-call :ql-setup :setup))
(assert (equalp ql-http:*fetch-scheme-functions* '(("http" . ql-https:fetcher) ("https" . ql-https:fetcher))))
(ql-util:without-prompting
(ql:add-to-init-file))