mirror of
https://codeberg.org/cage/tinmop/
synced 2025-03-07 10:37:37 +01:00
- added option '--do-not-prompt' to quick_quicklisp.sh, to prevent asking question about init file modification.
This commit is contained in:
parent
081bc85272
commit
32eea570d4
@ -88,10 +88,17 @@ install_quicklisp () {
|
||||
exit 1
|
||||
else
|
||||
echo_bold "Key sucessfully verified."
|
||||
@LISP_COMPILER@ --load $QUICKLISP \
|
||||
--eval "(quicklisp-quickstart:install)" \
|
||||
--eval "(ql:add-to-init-file)" \
|
||||
--eval "(sb-ext:quit)";
|
||||
if test "$1" = "" ; then
|
||||
@LISP_COMPILER@ --load $QUICKLISP \
|
||||
--eval "(quicklisp-quickstart:install)" \
|
||||
--eval "(ql:add-to-init-file)" \
|
||||
--eval "(sb-ext:quit)";
|
||||
else
|
||||
@LISP_COMPILER@ --load $QUICKLISP \
|
||||
--eval "(quicklisp-quickstart:install)" \
|
||||
--eval "(ql-util:without-prompting (ql:add-to-init-file))" \
|
||||
--eval "(sb-ext:quit)";
|
||||
fi
|
||||
@MKDIR_P@ $LISP_SOURCE_REGISTRY_DIR
|
||||
PAR_PWD=$(@DIRNAME@ "$PWD")
|
||||
echo "(:source-registry" > $LISP_SOURCE_REGISTRY_FILE
|
||||
@ -162,7 +169,11 @@ if [ $quicklisp_installed_p -eq 0 ]; then
|
||||
echo_bold "Quicklisp already installed; fetching libraries..."
|
||||
install_dependency
|
||||
else
|
||||
install_quicklisp
|
||||
if test "$1" = "--do-not-prompt" ; then
|
||||
install_quicklisp 1
|
||||
else
|
||||
install_quicklisp
|
||||
fi
|
||||
install_dependency
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user