Skip to content

Commit 240dd2c

Browse files
committed
Update dependency install script
1 parent 2560594 commit 240dd2c

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

install-dependencies.sh

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
11
#!/usr/bin/env bash
22

3-
# Check for required tools
4-
echo "Checking for markdown-pdf node module"
5-
npm -g list markdown-pdf
6-
S=$?
7-
if [ $S -ne 0 ]; then
8-
echo "markdown-pdf is missing, install by running:"
9-
echo " npm install -g markdown-pdf"
10-
return $S
11-
fi
12-
13-
echo "Checking for gitbook-cli node module"
14-
npm -g list gitbook-cli
15-
S=$?
16-
if [ $S -ne 0 ]; then
17-
echo "gitbook-cli is missing, install by running:"
18-
echo " npm install -g gitbook-cli"
19-
return $S
20-
fi
3+
npm install -g markdown-pdf
4+
npm install -g gitbook-cli

0 commit comments

Comments
 (0)