YUKI Hiroshi
null+****@clear*****
Mon Sep 29 14:49:57 JST 2014
YUKI Hiroshi 2014-09-29 14:49:57 +0900 (Mon, 29 Sep 2014) New Revision: ab3f1de192f33af52d8016f719ff89358842c2f7 https://github.com/droonga/droonga-engine/commit/ab3f1de192f33af52d8016f719ff89358842c2f7 Message: Stop installation if the package is not installed Modified files: install.sh Modified: install.sh (+5 -0) =================================================================== --- install.sh 2014-09-29 14:30:16 +0900 (4f386ec) +++ install.sh 2014-09-29 14:49:57 +0900 (4404e0d) @@ -316,6 +316,11 @@ install() { gem install droonga-engine --no-rdoc --no-ri fi + if ! exist_command droonga-engine; 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