From 05cff73cc22de61cf64f83fb0786721c952402e0 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Mon, 28 Jul 2014 15:18:31 +0530 Subject: [PATCH] Fixed ViMbAdmin install issue --- src/vendor/ee_ven_install_vimbadmin.sh | 4 ++-- src/vendor/ee_ven_setup_vimbadmin.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vendor/ee_ven_install_vimbadmin.sh b/src/vendor/ee_ven_install_vimbadmin.sh index a5ba1b61..a9988d64 100644 --- a/src/vendor/ee_ven_install_vimbadmin.sh +++ b/src/vendor/ee_ven_install_vimbadmin.sh @@ -8,8 +8,8 @@ function ee_mod_install_vimbadmin() || ee_lib_error "Unable to download ViMbAdmin, exit status = " $? ee_lib_echo "Installing ViMbAdmin, please wait..." - tar -zxf /var/www/22222/htdocs/vimbadmin.tar.gz - mv /var/www/22222/htdocs/ViMbAdmin-3.0.10 /var/www/22222/htdocs/vimbadmin + mkdir -p /var/www/22222/htdocs/vimbadmin + tar -zxf /var/www/22222/htdocs/vimbadmin.tar.gz -C /var/www/22222/htdocs/vimbadmin --strip-components=1 # Install Composer cd /var/www/22222/htdocs/vimbadmin diff --git a/src/vendor/ee_ven_setup_vimbadmin.sh b/src/vendor/ee_ven_setup_vimbadmin.sh index c175a6b0..07ede27b 100644 --- a/src/vendor/ee_ven_setup_vimbadmin.sh +++ b/src/vendor/ee_ven_setup_vimbadmin.sh @@ -39,7 +39,7 @@ function ee_mod_setup_vimbadmin() || ee_lib_error "Unable to setup ViMbAdmin database details in virtual_domains_maps.cf file, exit status = " $? sed -i "s/password = password/password = $ee_random" /etc/postfix/mysql/virtual_mailbox_maps.cf && - sed -i "s/hosts = 127.0.0.1/hosts = $EE_MYSQL_HOST" /etc/postfix/mysql/virtual_mailbox_maps.cf && + sed -i "s/hosts = 127.0.0.1/hosts = $EE_MYSQL_HOST" /etc/postfix/mysql/virtual_mailbox_maps.cf \ || ee_lib_error "Unable to setup ViMbAdmin database details in virtual_mailbox_maps.cf file, exit status = " $? sed -i "s/password=password/password=$ee_random" /etc/dovecot/dovecot-sql.conf.ext &&