From 10180a51e153fc5f7733307e3984d12155f7b0ae Mon Sep 17 00:00:00 2001 From: gau1991 Date: Mon, 28 Jul 2014 18:36:00 +0530 Subject: [PATCH] Fixed: target 0 is not a directory error --- src/modules/stack/install/mail/ee_mod_setup_postfix.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/stack/install/mail/ee_mod_setup_postfix.sh b/src/modules/stack/install/mail/ee_mod_setup_postfix.sh index 4ddc5f35..43eb9068 100644 --- a/src/modules/stack/install/mail/ee_mod_setup_postfix.sh +++ b/src/modules/stack/install/mail/ee_mod_setup_postfix.sh @@ -38,9 +38,9 @@ function ee_mod_setup_postfix() # Setting up Postfix MySQL configuration mkdir -p /etc/postfix/mysql - cp -av /usr/share/easyengine/mail/virtual_alias_maps.cf /etc/postfix/mysql/virtual_alias_maps.cf && - cp -av /usr/share/easyengine/mail/virtual_domains_maps.cf /etc/postfix/mysql/virtual_domains_maps.cf && + cp -av /usr/share/easyengine/mail/virtual_alias_maps.cf /etc/postfix/mysql/virtual_alias_maps.cf && \ + cp -av /usr/share/easyengine/mail/virtual_domains_maps.cf /etc/postfix/mysql/virtual_domains_maps.cf && \ cp -av /usr/share/easyengine/mail/virtual_mailbox_maps.cf /etc/postfix/mysql/virtual_mailbox_maps.cf \ - ee_lib_error "Unable to copy Postfix MySQL configuration files, exit status = " $? + || ee_lib_error "Unable to copy Postfix MySQL configuration files, exit status = " $? }