diff options
author | Tristan Williams <tgwil@tgwil.net> | 2024-10-14 03:11:07 -0400 |
---|---|---|
committer | Tristan Williams <tgwil@tgwil.net> | 2024-10-14 03:11:07 -0400 |
commit | 7375f0c603cf59bccdac93c571ac665dc1ba5c68 (patch) | |
tree | e069248161559995700264a3db8251c8ee261c5d | |
parent | Bugfix: = should be == (diff) | |
download | dotfiles.core-7375f0c603cf59bccdac93c571ac665dc1ba5c68.tar.gz dotfiles.core-7375f0c603cf59bccdac93c571ac665dc1ba5c68.tar.bz2 dotfiles.core-7375f0c603cf59bccdac93c571ac665dc1ba5c68.zip |
Move quicklisp install to package install section for consistency
-rwxr-xr-x | new-user-setup.sh | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/new-user-setup.sh b/new-user-setup.sh index c58e90d..d5cf2a1 100755 --- a/new-user-setup.sh +++ b/new-user-setup.sh | |||
@@ -88,6 +88,19 @@ while | |||
88 | x11/arandr \ | 88 | x11/arandr \ |
89 | x11-fonts/nerd-fonts \ | 89 | x11-fonts/nerd-fonts \ |
90 | x11/xorg | 90 | x11/xorg |
91 | |||
92 | # Install Quicklisp | ||
93 | if [[ ! -d $HOME/lisp/quicklisp ]]; then | ||
94 | curl -o /tmp/ql.lisp http://beta.quicklisp.org/quicklisp.lisp | ||
95 | sbcl --no-sysinit --no-userinit --load /tmp/ql.lisp \ | ||
96 | --eval '(quicklisp-quickstart:install :path "~/lisp/quicklisp")' \ | ||
97 | --quit \ | ||
98 | > /dev/null # minimize output | ||
99 | echo -e "${GREEN}INFO : Installed Quicklisp${ENDCOLOR}" | ||
100 | else | ||
101 | echo -e "${YELLOW}Skipped: Quicklisp. Already installed${ENDCOLOR}" | ||
102 | fi | ||
103 | |||
91 | echo "INFO : Packages installed and updated." | 104 | echo "INFO : Packages installed and updated." |
92 | break;; | 105 | break;; |
93 | "n"|"N") | 106 | "n"|"N") |
@@ -226,17 +239,7 @@ while | |||
226 | # Common Lisp SBCL Configuration | 239 | # Common Lisp SBCL Configuration |
227 | place_file $HOME/dotfiles.core/home/.sbclrc $HOME/.sbclrc | 240 | place_file $HOME/dotfiles.core/home/.sbclrc $HOME/.sbclrc |
228 | place_directory $HOME/lisp | 241 | place_directory $HOME/lisp |
229 | # Install Quicklisp | 242 | |
230 | if [[ ! -d $HOME/lisp/quicklisp ]]; then | ||
231 | curl -o /tmp/ql.lisp http://beta.quicklisp.org/quicklisp.lisp | ||
232 | sbcl --no-sysinit --no-userinit --load /tmp/ql.lisp \ | ||
233 | --eval '(quicklisp-quickstart:install :path "~/lisp/quicklisp")' \ | ||
234 | --quit \ | ||
235 | > /dev/null # minimize output | ||
236 | echo -e "${GREEN}INFO : Installed Quicklisp${ENDCOLOR}" | ||
237 | else | ||
238 | echo -e "${YELLOW}Skipped: Quicklisp. Already installed${ENDCOLOR}" | ||
239 | fi | ||
240 | echo "INFO : Configuration files placed!" | 243 | echo "INFO : Configuration files placed!" |
241 | break;; | 244 | break;; |
242 | "n"|"N") | 245 | "n"|"N") |