Browse Source

Minor fix

old-stable
Mitesh Shah 11 years ago
parent
commit
d378f9f7ee
  1. 2
      bin/install.sh
  2. 2
      src/modules/system/install/ee_mod_install_mysql.sh

2
bin/install.sh

@ -88,7 +88,7 @@ elif [ "$EE_LINUX_DISTRO" == "Debian" ]; then
ee_lib_package_check graphviz python-software-properties
fi
if [ ! -x /usr/bin/tee ] || [ ! -x /bin/ed ] || [ ! -x /usr/bin/bc ] || [ ! -x /usr/bin/wget ] || [ ! -x /usr/bin/curl ] || [ ! -x /bin/tar ] || [ ! -x /usr/bin/git ] || [ ! -z "$EE_PACKAGE_NAME" ]; then
if [ ! -x /usr/bin/tee ] || [ ! -x /bin/ed ] || [ ! -x /usr/bin/bc ] || [ ! -x /usr/bin/wget ] || [ ! -x /usr/bin/curl ] || [ ! -x /bin/tar ] || [ ! -x /usr/bin/git ] || [ -n $EE_PACKAGE_NAME ]; then
ee_lib_echo "Installing required packages, please wait..." | tee -ai $EE_INSTALL_LOG
apt-get -y install coreutils ed bc wget curl tar git-core $EE_PACKAGE_NAME | tee -ai $EE_INSTALL_LOG\
|| ee_lib_error "Unable to install required packages, exit status = " $?

2
src/modules/system/install/ee_mod_install_mysql.sh

@ -7,7 +7,7 @@ ee_mod_install_mysql()
# If MySQL is not installed
# Then set random MySQL password for root user
if [ -n $PACKAGE_NAME ]; then
if [ -n $EE_PACKAGE_NAME ]; then
# Setting up MySQL password
local ee_mysql_auto_pass=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 15 | head -n1)

Loading…
Cancel
Save