Browse Source

EasyEngine v1.3.7

old-stable
Mitesh Shah 11 years ago
parent
commit
1c8c468adc
  1. 7
      CHANGELOG.txt
  2. 2
      usr/local/sbin/easyengine
  3. 29
      usr/local/sbin/eeupdate

7
CHANGELOG.txt

@ -1,3 +1,10 @@
v 1.3.7 - Apr 29, 2014
- Fixed EasyEngine Update Problem
- Fixed Issue #206
- Update nginx version 1.6.0
- Update wp-cli version 0.14.1
v 1.3.6 - Apr 24, 2014
- Fixed Nginx Update Problem #201
- Automate Testing Using Travis-ci

2
usr/local/sbin/easyengine

@ -1965,7 +1965,7 @@ if [ "$1" = "version" ] || [ "$1" = "--version" ] || [ "$1" = "-v" ]
then
# Display Easy Engine Version
echo "easyengine version: 1.3.6"
echo "easyengine version: 1.3.7"
# Easy Engine Info
elif [ "$1" = "info" ]

29
usr/local/sbin/eeupdate

@ -472,9 +472,10 @@ EE133()
EE134()
{
# Nginx Update
if [ "$LINUX_DISTRO" == "Ubuntu" ]
then
nginx -v 2>&1 | grep 1.4.7
nginx -v 2>&1 | grep 1.6.0
if [ $? -ne 0 ]
then
# Removing Old Nginx Repository
@ -494,6 +495,25 @@ EE134()
|| OwnError "Unable To Update Nginx"
fi
fi
# WP-CLI Update
WP_CLI_VERSION=$(wp --allow-root --info | grep "WP-CLI version" | awk '{print $3}')
if [[ $WP_CLI_VERSION != "0.14.1" ]]
then
echo -e "\033[34mUpdating WP-CLI, Please Wait...\e[0m"
#Remove Old WP-CLI
rm -rf /usr/share/easyengine/wp-cli /usr/bin/wp /etc/bash_completion.d/wp-completion.bash
curl -sL https://raw.github.com/wp-cli/wp-cli.github.com/master/installer.sh | INSTALL_DIR='/usr/share/easyengine/wp-cli' VERSION='0.14.1' bash &>> $INSTALLLOG \
|| OwnError "Unable To Update WP-CLI"
# Add WP-CLI Command In PATH Variable
ln -s /usr/share/easyengine/wp-cli/bin/wp /usr/bin/wp || OwnError "Unable To Create Symbolic Link For WP-CLI Command"
# Add WP-CLI Auto Completion
cp -i /usr/share/easyengine/wp-cli/vendor/wp-cli/wp-cli/utils/wp-completion.bash /etc/bash_completion.d/
source /etc/bash_completion.d/wp-completion.bash
fi
}
HTTPAUTH()
@ -585,6 +605,11 @@ then
if [[ $EECURRENTVERSION = 1.1.0 ]]
then
EE110
EECURRENTVERSION="1.1.1"
fi
if [[ $EECURRENTVERSION = 1.1.1 ]] || [[ $EECURRENTVERSION = 1.1.2 ]] || [[ $EECURRENTVERSION = 1.1.3 ]] || [[ $EECURRENTVERSION = 1.1.4 ]] || [[ $EECURRENTVERSION = 1.1.5 ]] || [[ $EECURRENTVERSION = 1.2.0 ]] || [[ $EECURRENTVERSION = 1.2.1]]
then
EECURRENTVERSION="1.2.2"
fi
@ -600,7 +625,7 @@ then
EECURRENTVERSION="1.3.4"
fi
if [[ $EECURRENTVERSION = 1.3.4 ]] || [[ $EECURRENTVERSION = 1.3.5 ]]
if [[ $EECURRENTVERSION = 1.3.4 ]] || [[ $EECURRENTVERSION = 1.3.5 ]] || || [[ $EECURRENTVERSION = 1.3.6 ]]
then
EE134
fi

Loading…
Cancel
Save