Browse Source

Optimized code

old-stable
gau1991 10 years ago
parent
commit
83a864d715
  1. 2
      bin/install

2
bin/install

@ -89,7 +89,7 @@ if [ ! -d $EE_LOG_DIR ]; then
mkdir -p $EE_LOG_DIR || ee_lib_error "Unable to create log directory $EE_LOG_DIR, exit status = " $? mkdir -p $EE_LOG_DIR || ee_lib_error "Unable to create log directory $EE_LOG_DIR, exit status = " $?
# Create EasyEngine log files # Create EasyEngine log files
touch /var/log/easyengine/ee.log /var/log/easyengine/install.log /var/log/easyengine/update.log /var/log/easyengine/error.log \ touch /var/log/easyengine/{ee.log,install.log,update.log,error.log} \
|| ee_lib_error "Unable to create EasyEngine log files in $EE_LOG_DIR, exit status = " $? || ee_lib_error "Unable to create EasyEngine log files in $EE_LOG_DIR, exit status = " $?
# Keep EasyEngine log folder accessible to root only # Keep EasyEngine log folder accessible to root only

Loading…
Cancel
Save