Browse Source

Fix EE File Structure

old-stable
Mitesh Shah 12 years ago
parent
commit
6d8aaa46d7
  1. 0
      etc/bash_completion.d/ee
  2. 5
      etc/easyengine/ee.conf
  3. 0
      etc/ee.conf
  4. 6
      install.sh
  5. 9
      usr/local/sbin/easyengine
  6. 0
      usr/share/easyengine/nginx/multisite/subdir/basic.conf
  7. 0
      usr/share/easyengine/nginx/multisite/subdomain/basic.conf
  8. 0
      usr/share/easyengine/nginx/singlesite/basic.conf
  9. 0
      usr/share/easyengine/nginx/singlesite/fastcgi-cache.conf
  10. 0
      usr/share/easyengine/nginx/singlesite/w3-total-cache.conf
  11. 0
      usr/share/easyengine/nginx/singlesite/wp-super-cache.conf

0
etc/ee → etc/bash_completion.d/ee

5
etc/easyengine/ee.conf

@ -0,0 +1,5 @@
# The Easy Engine Configuration File
apt-get=yes

0
etc/ee.conf

6
install.sh

@ -121,12 +121,12 @@ fi
echo -e "\033[34m Installing Easy Engine, Please Wait... \e[0m" | tee -ai $INSTALLLOG
# EE /etc Files
cp -a /tmp/easyengine/etc/ee /etc/bash_completion.d/ &>> /dev/null || OwnError "Unable To Copy EE Auto Complete File"
cp -a /tmp/easyengine/etc/ee.conf /etc/easyengine/ &>> /dev/null || OwnError "Unable To Copy ee.conf File"
cp -a /tmp/easyengine/etc/bash_completion.d/ee /etc/bash_completion.d/ &>> /dev/null || OwnError "Unable To Copy EE Auto Complete File"
cp -a /tmp/easyengine/etc/easyengine/ee.conf /etc/easyengine/ &>> /dev/null || OwnError "Unable To Copy ee.conf File"
# EE /usr/share/easyengine Files
cp -a /tmp/easyengine/etc/nginx/ /usr/share/easyengine/nginx/ &>> /dev/null || OwnError "Unable To Copy Configuration Files "
cp -a /tmp/easyengine/usr/share/* /usr/share/easyengine/ &>> /dev/null || OwnError "Unable To Copy Configuration Files "
cp -a /tmp/easyengine/usr/share/easyengine/* /usr/share/easyengine/ &>> /dev/null || OwnError "Unable To Copy Configuration Files "
# EE Command
cp -a /tmp/easyengine/usr/local/sbin/easyengine /usr/local/sbin/ &>> /dev/null || OwnError "Unable To Copy EasyEngine Command"

9
usr/local/sbin/easyengine

@ -36,6 +36,15 @@ EngineHelp()
LOGDIR=/var/log/easyengine
ERRORLOG=/var/log/easyengine/error.log
# Check Auto Yes To Apt-Get
grep apt-get /etc/easyengine/ee.conf | grep -i yes
if [ $? -eq 0]
then
EEAPTGET="apt-get -y"
else
EEAPTGET="apt-get"
fi
# Capture Errors
OwnError()

0
usr/share/nginx/multisite/subdir/basic.conf → usr/share/easyengine/nginx/multisite/subdir/basic.conf

0
usr/share/nginx/multisite/subdomain/basic.conf → usr/share/easyengine/nginx/multisite/subdomain/basic.conf

0
usr/share/nginx/singlesite/basic.conf → usr/share/easyengine/nginx/singlesite/basic.conf

0
usr/share/nginx/singlesite/fastcgi-cache.conf → usr/share/easyengine/nginx/singlesite/fastcgi-cache.conf

0
usr/share/nginx/singlesite/w3-total-cache.conf → usr/share/easyengine/nginx/singlesite/w3-total-cache.conf

0
usr/share/nginx/singlesite/wp-super-cache.conf → usr/share/easyengine/nginx/singlesite/wp-super-cache.conf

Loading…
Cancel
Save