Skip to content

Commit 87afc54

Browse files
committed
EasyEngine 2.0.2
1 parent 4ea1607 commit 87afc54

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bin/update

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
143143
|| ee_lib_error "Unable to copy EasyEngine (ee) man page, exit status = " $?
144144

145145

146-
if [[ $EE_CURRENT_VERSION < 2.0.0 ]]; then
146+
if [[ $EE_CURRENT_VERSION < 1.9.0 ]]; then
147147
# EasyEngine (ee) config file
148148
cp -av /etc/easyengine/ee.conf /etc/easyengine/ee.bak &>> $EE_UPDATE_LOG
149149
cp -av /tmp/easyengine/config/easyengine/ee.conf /etc/easyengine/ &>> $EE_UPDATE_LOG \
@@ -385,11 +385,11 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
385385
fi
386386
fi
387387

388-
if [[ $EE_CURRENT_VERSION < 2.0.1 ]]; then
388+
if [[ $EE_CURRENT_VERSION > 1.9.0 ]]; then
389389

390390
# Lets re-used our functions
391391
# Include library
392-
if [ $ee_source != 1 ]; then
392+
if [ -z $ee_source ]; then
393393
for ee_include in $(find /usr/local/lib/easyengine/ -iname "*.sh"); do
394394
source $ee_include
395395
done
@@ -408,6 +408,7 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
408408
# Update EasyEngine current version
409409
EE_CURRENT_VERSION="2.0.1"
410410
fi
411+
411412
if [[ $EE_CURRENT_VERSION = 2.0.1 ]]; then
412413
sed -i 's/host =.*/grant-host = localhost/' /etc/easyengine/ee.conf
413414
fi

0 commit comments

Comments
 (0)