From ed9084b0b9175a272401b231e5d086e64506af15 Mon Sep 17 00:00:00 2001 From: Jefferson Stachelski Date: Thu, 23 Apr 2015 11:58:00 -0300 Subject: #329 Disabled stop script when a command return non-zero for print the warning when are missing same prequiremets and then enable it again --- install-pixelated.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install-pixelated.sh') diff --git a/install-pixelated.sh b/install-pixelated.sh index 55fcc172..3e21f251 100755 --- a/install-pixelated.sh +++ b/install-pixelated.sh @@ -44,12 +44,14 @@ done shift $((OPTIND-1)) function check_installed() { + set +e which $1 if [ $? -ne 0 ]; then echo "## You must have ${1} installed and in the PATH to run Pixelated-User-Agent" echo "## exiting..." exit 1 fi + set -e } function install_node_modules_at_custom_location() { -- cgit v1.2.3