YUKI Hiroshi
null+****@clear*****
Mon Sep 29 14:50:24 JST 2014
YUKI Hiroshi 2014-09-29 14:50:24 +0900 (Mon, 29 Sep 2014) New Revision: 877bd0256122bf3f48fdb1b19c5dc24eb9af9ffe https://github.com/droonga/droonga-http-server/commit/877bd0256122bf3f48fdb1b19c5dc24eb9af9ffe Message: Stop installation if the package is not installed Modified files: install.sh Modified: install.sh (+5 -0) =================================================================== --- install.sh 2014-09-29 13:33:36 +0900 (145b489) +++ install.sh 2014-09-29 14:50:24 +0900 (a4bfd86) @@ -308,6 +308,11 @@ install() { npm install -g droonga-http-server fi + if ! exist_command droonga-http-server; then + echo "ERROR: Failed to install $NAME!" + exit 1 + fi + curl -o $TEMPDIR/functions.sh $(download_url "install/$PLATFORM/functions.sh") source $TEMPDIR/functions.sh -------------- next part -------------- HTML����������������������������...Download