Skip to content

Commit

Permalink
add rpm 4.x & 5.x to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Dec 2, 2015
1 parent dd40143 commit bce9ec0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rpm/setup_4.x
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Discussion, issues and change requests at:
# https://github.com/nodesource/distributions
#
# Script to install the NodeSource Node.js 4.x repo onto an
# Script to install the NodeSource Node.js 4.x LTS Argon repo onto an
# Enterprise Linux or Fedora Core based system.
#
# Run as root or insert `sudo -E` before `bash`:
Expand Down Expand Up @@ -34,7 +34,7 @@ exec_cmd() {
exec_cmd_nobail "$1" || bail
}

print_status "Installing the NodeSource Node.js 4.x repo..."
print_status "Installing the NodeSource Node.js 4.x LTS Argon repo..."

print_status "Inspecting system..."

Expand Down Expand Up @@ -222,10 +222,10 @@ Run \`\033[1myum remove -y nodejs npm\033[22m\` (as root) to remove these first.

fi

print_status 'Run `apt-get install nodejs` (as root) to install Node.js 4.x and npm'
print_status 'Run `apt-get install nodejs` (as root) to install Node.js 4.x LTS Argon and npm'

print_status "\
Run \`\033[1myum install -y nodejs\033[22m\` (as root) to install Node.js 4.x and npm.\n\
Run \`\033[1myum install -y nodejs\033[22m\` (as root) to install Node.js 4.x LTS Argon and npm.\n\
You may also need development tools to build native addons:\n\
\`yum install -y gcc-c++ make\`\
"
Expand Down
2 changes: 2 additions & 0 deletions rpm/src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ RELEASES=( "pub_0.10::nodejs:Node.js 0.10"
"pub_0.12:_0.12:nodejs:Node.js 0.12"
"pub_iojs_1.x:_iojs_1.x:iojs:io.js 1.x"
"pub_iojs_2.x:_iojs_2.x:iojs:io.js 2.x"
"pub_4.x:_4.x:nodejs:Node.js 4.x LTS Argon"
"pub_5.x:_5.x:nodejs:Node.js 5.x"
)
SOURCE=_setup.sh
DEST=../setup
Expand Down

0 comments on commit bce9ec0

Please sign in to comment.