Skip to content

Commit 55f54eb

Browse files
author
Andreas Gottardi
committed
Fixing node path.
1 parent 2ede92d commit 55f54eb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

gsdo/prepare/node.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ NODE_PACKAGE=node-v${NODEVERSION}-linux-x64
55
APP_DIR="${APP_DIR}/${NODE_PACKAGE}"
66
if [ ! -d "${APP_DIR}" ]
77
then
8-
mkdir -p "$APP_DIR"
98
wget -O "${HOME}/node.tar.gz" -q "https://nodejs.org/dist/v${NODEVERSION}/${NODE_PACKAGE}.tar.gz"
10-
tar -x -f "${HOME}/node.tar.gz" -C "${APP_DIR}"
9+
tar -x -f "${HOME}/node.tar.gz" -C "${APP_DIR}/.."
1110
rm "${HOME}/node.tar.gz"
1211
else
1312
echo "NodeJS already installed."

0 commit comments

Comments
 (0)