Ignore:
Timestamp:
11/12/12 22:57:19 (11 years ago)
Author:
wmerlotto
Message:

Ticket #3191 - Alteracoes no instalador, para suportar novo SO e para realizar pequenos ajustes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/INSTALL/arquivos/scripts/imap.sh

    r6261 r7503  
    2929 
    3030        SQUEEZE=debian/squeeze/etc 
    31         cp $SQUEEZE/imapd.conf /etc/ 
    32         cp $SQUEEZE/cyrus.conf /etc/ 
    33         cp $SQUEEZE/default/saslauthd /etc/default/ 
     31        cp -f $SQUEEZE/imapd.conf /etc/ 
     32        cp -f $SQUEEZE/cyrus.conf /etc/ 
     33        cp -f $SQUEEZE/default/saslauthd /etc/default/ 
    3434 
    3535        imap_debian 
     
    4343} 
    4444 
    45 imap_ubuntu_1110 () 
     45imap_ubuntu_1204 () 
    4646{ 
    47         imap_debian_6 
     47        apt-get -y install cyrus-admin-2.4 cyrus-clients-2.4 cyrus-common-2.4 cyrus-doc-2.4 cyrus-imapd-2.4 \ 
     48                        libcyrus-imap-perl24 libsasl2-modules sasl2-bin libmail-imapclient-perl \ 
     49                        libparse-recdescent-perl libterm-readkey-perl libterm-readline-perl-perl 
     50 
     51        UBUNTU=ubuntu/12.04/etc 
     52        cp -f $UBUNTU/imapd.conf /etc/ 
     53        cp -f $UBUNTU/cyrus.conf /etc/ 
     54        cp -f $UBUNTU/default/saslauthd /etc/default/ 
     55 
     56        imap_debian 
     57 
     58        /etc/init.d/saslauthd restart 
     59        # TODO: e necessario colocar para inicializar automaticamente? 
     60        sleep 4 
     61        /etc/init.d/cyrus-imapd restart 
     62 
     63        create_mbox 
    4864} 
    4965 
Note: See TracChangeset for help on using the changeset viewer.