Commit 2d387f1 1 parent 6a673b1 commit 2d387f1 Copy full SHA for 2d387f1
File tree 1 file changed +6
-9
lines changed
1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,14 @@ if ! command -v 7z &> /dev/null; then
22
22
fi
23
23
24
24
if ! command -v mdpdf & > /dev/null; then
25
-
26
25
# check if directory $HOME/.nvm exists:
27
26
if [ ! -d " $HOME /.nvm" ]; then
28
- if ! command -v mdpdf & > /dev/null; then
29
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
30
- source ~ /.bashrc
31
- nvm list-remote
32
- nvm install v22.3.0
33
- nvm list
34
- npm install mdpdf -g
35
- fi
27
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
28
+ source ~ /.bashrc
29
+ nvm list-remote
30
+ nvm install v22.3.0
31
+ nvm list
32
+ npm install mdpdf -g
36
33
else
37
34
export NVM_DIR=" $HOME /.nvm"
38
35
[ -s " $NVM_DIR /nvm.sh" ] && \. " $NVM_DIR /nvm.sh" # This loads nvm
You can’t perform that action at this time.
0 commit comments