Skip to content

Commit

Permalink
Use variable for php dev dependency install.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleigh committed Sep 22, 2018
1 parent 0742369 commit e751aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_mecab_php-mecab.sh
Expand Up @@ -19,7 +19,7 @@ SHORTVERSION=${LONGVERSION%.*}
echo $SHORTVERSION

echo "${GREEN}Installing dependencies...${NC}"
sudo apt-get install mecab mecab-ipadic-utf8 mecab-utils libmecab-dev unzip build-essential php7.0-dev
sudo apt-get install mecab mecab-ipadic-utf8 mecab-utils libmecab-dev unzip build-essential php${SHORTVERSION}-dev

if [ $HASMECAB ] ; then
echo "${BLUE}php-mecab is already installed.${NC}"
Expand Down

0 comments on commit e751aa7

Please sign in to comment.