Browse Source

fixed ee_branch: readonly variable

bugfixes
harshadyeola 10 years ago
parent
commit
3e9291a78b
  1. 6
      install

6
install

@ -46,7 +46,7 @@ if [ ! -x /usr/bin/lsb_release ]; then
fi fi
# Define variables for later use # Define variables for later use
readonly ee_branch=$1 ee_branch=$1
readonly ee_version_old="2.2.3" readonly ee_version_old="2.2.3"
readonly ee_version_new="3.0.4" readonly ee_version_new="3.0.4"
readonly ee_log_dir=/var/log/ee/ readonly ee_log_dir=/var/log/ee/
@ -98,7 +98,7 @@ function ee_install_dep()
locale-gen en &>> /dev/null locale-gen en &>> /dev/null
} }
# Sqlite query to create table `sites` into ee.db # Sqlite query to create table `sites` into ee.db
# which will be used by EasyEngine 3.x # which will be used by EasyEngine 3.x
function ee_sync_db() function ee_sync_db()
{ {
@ -291,7 +291,7 @@ function ee_git_init()
} }
# Update EasyEngine # Update EasyEngine
if [ -f /usr/local/sbin/easyengine ]; then if [ -f /usr/local/sbin/easyengine ]; then
# Check old EasyEngine version # Check old EasyEngine version
ee version | grep ${ee_version_old} &>> /dev/null ee version | grep ${ee_version_old} &>> /dev/null

Loading…
Cancel
Save