We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4aaf3e commit d2e8485Copy full SHA for d2e8485
1 file changed
install/dist/lib/opensuse.lib.php
@@ -95,7 +95,7 @@ function configure_postfix($options = '')
95
caselog("$command &> /dev/null", __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
96
}
97
98
- if($cf['vmail_mailbox_base'] != '' && strlen($cf['vmail_mailbox_base']) >= 10) exec('chown -R '.$cf['vmail_username'].':'.$cf['vmail_groupname'].' '.$cf['vmail_mailbox_base']);
+ if($cf['vmail_mailbox_base'] != '' && strlen($cf['vmail_mailbox_base']) >= 10 && $this->is_update === false) exec('chown -R '.$cf['vmail_username'].':'.$cf['vmail_groupname'].' '.$cf['vmail_mailbox_base']);
99
100
$postconf_commands = array (
101
'myhostname = '.$conf['hostname'],
0 commit comments