Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
install-dependencies.sh: Add support for Debian. (#503)
Browse files Browse the repository at this point in the history
Debian and Ubuntu are similar and, once I made this small change, the
install went fine for me on Debian.
  • Loading branch information
blp authored and Mihai Budiu committed Jan 17, 2019
1 parent 5d14635 commit f6850b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ TOMCATVERSION="9.0.4"

case "$OSTYPE" in
linux*)
if [ "$(cat /etc/*-release | grep -c ubuntu)" -ne 0 ]; then
if [ "$(cat /etc/*-release | grep -Ec 'ubuntu|debian')" -ne 0 ]; then
# Npm will be installed with node.js
INSTALL="apt-get"; SUDO="sudo"; NODEJS="nodejs"; NPM="";
elif [ "$(cat /etc/*-release | grep -c -e centos -e rhel )" -ne 0 ]; then
Expand Down

0 comments on commit f6850b5

Please sign in to comment.