Skip to content

Commit

Permalink
typo fix for php 7 detected extesnion routines
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Jun 26, 2017
1 parent 9f62167 commit 9ec420f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions inc/downloads.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3549,9 +3549,9 @@ yuminstall
questions

if [[ "$INITIALINSTALL" != [yY] ]]; then
php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2''
php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2'
else
echo "$PHP_VERSION" | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2''
echo "$PHP_VERSION" | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2'
fi
PHPSEVEN_CHECKVER=$?
echo "$PHPSEVEN_CHECKVER"
Expand Down
2 changes: 1 addition & 1 deletion inc/igbinary.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ "$IGBINARY_INSTALL" == 'y' ]; then
if [ "$IGBINARYGIT" == 'y' ]; then
cd $DIR_TMP

php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2''
php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2'
PHPSEVEN_CHECKVER=$?
echo $PHPSEVEN_CHECKVER

Expand Down
2 changes: 1 addition & 1 deletion inc/imagick_install.inc
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ imagickinstall() {
echo "cd $DIR_TMP"
cd $DIR_TMP

php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2''
php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2'
PHPSEVEN_CHECKVER=$?
echo $PHPSEVEN_CHECKVER

Expand Down
4 changes: 2 additions & 2 deletions inc/mailparse.inc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
checkphpextmailparse() {
if [[ "$INITIALINSTALL" != [yY] ]]; then
php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2''
php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2'
else
echo $PHP_VERSION | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2''
echo $PHP_VERSION | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2'
fi
PHPSEVEN_CHECKVER=$?
echo $PHPSEVEN_CHECKVER
Expand Down
2 changes: 1 addition & 1 deletion inc/php_upgrade.inc
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ if [[ "$zendopcacheon" = [yY] && "$OLD_OPCACHEPHP" != [yY] ]]; then
fi

# notes for users if PHP 7.0 detected
php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2''
php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2'
PHPSEVEN_CHECKVER=$?
echo "$PHPSEVEN_CHECKVER"

Expand Down
2 changes: 1 addition & 1 deletion tools/imagemagick-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ imagickinstall() {
echo "cd $DIR_TMP"
cd $DIR_TMP

php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2''
php -v | awk -F " " '{print $2}' | head -n1 | cut -d . -f1,2 | egrep -w '7.0||7.1|7.2'
PHPSEVEN_CHECKVER=$?
echo $PHPSEVEN_CHECKVER

Expand Down

0 comments on commit 9ec420f

Please sign in to comment.