Browse Source

Better Fix For issue 41

old-stable
Mitesh Shah 12 years ago
parent
commit
a2af995254
  1. 14
      install.sh

14
install.sh

@ -129,11 +129,11 @@ then
fi fi
# Create Directory /usr/share/easyengine # Create Directory /usr/share/easyengine
if [ ! -d /usr/share/easyengine ] if [ ! -d /usr/share/easyengine/nginx ]
then then
# Create A Directory For EE Nginx Configurations # Create A Directory For EE Nginx Configurations
mkdir -p /usr/share/easyengine \ mkdir -p /usr/share/easyengine/nginx \
|| OwnError "Unable To Create Dir /usr/share/easyengine" || OwnError "Unable To Create Dir /usr/share/easyengine/nginx"
fi fi
# Install Easy Engine # Install Easy Engine
@ -144,14 +144,6 @@ cp -a /tmp/easyengine/etc/bash_completion.d/ee /etc/bash_completion.d/ &>> /dev/
cp -a /tmp/easyengine/etc/easyengine/ee.conf /etc/easyengine/ &>> /dev/null || OwnError "Unable To Copy ee.conf 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 # EE /usr/share/easyengine Files
# Check If Directory Exist Or Not
if [ ! -d /usr/share/easyengine/nginx ]
then
mkdir /usr/share/easyengine/nginx/
fi
cp -a /tmp/easyengine/etc/nginx/* /usr/share/easyengine/nginx/ &>> /dev/null || OwnError "Unable To Copy Configuration 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/easyengine/* /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 "

Loading…
Cancel
Save