Skip to content

Commit 2d387f1

Browse files
committed
fix doublecheck
1 parent 6a673b1 commit 2d387f1

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

recipes/build.sh

+6-9
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,14 @@ if ! command -v 7z &> /dev/null; then
2222
fi
2323

2424
if ! command -v mdpdf &> /dev/null; then
25-
2625
# check if directory $HOME/.nvm exists:
2726
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
3633
else
3734
export NVM_DIR="$HOME/.nvm"
3835
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

0 commit comments

Comments
 (0)