summaryrefslogtreecommitdiffstats
path: root/kolab_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-03-25 15:39:28 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-03-25 15:39:28 +0000
commit92ea9427ad5e5e9eb66e1d8d61e1cb703a51de0d (patch)
treee5aff24f7a03f19d5d72ba59014b59a10a40fb53 /kolab_wizard
parent8c414c761f544d9685d0e87abb909663cb625045 (diff)
downloaddrakwizard-92ea9427ad5e5e9eb66e1d8d61e1cb703a51de0d.tar
drakwizard-92ea9427ad5e5e9eb66e1d8d61e1cb703a51de0d.tar.gz
drakwizard-92ea9427ad5e5e9eb66e1d8d61e1cb703a51de0d.tar.bz2
drakwizard-92ea9427ad5e5e9eb66e1d8d61e1cb703a51de0d.tar.xz
drakwizard-92ea9427ad5e5e9eb66e1d8d61e1cb703a51de0d.zip
fix kolab-server installtion pb (one again)
Diffstat (limited to 'kolab_wizard')
-rwxr-xr-xkolab_wizard/Kolab.pm16
1 files changed, 15 insertions, 1 deletions
diff --git a/kolab_wizard/Kolab.pm b/kolab_wizard/Kolab.pm
index 27fb6b2f..d4395dda 100755
--- a/kolab_wizard/Kolab.pm
+++ b/kolab_wizard/Kolab.pm
@@ -50,7 +50,7 @@ my $o = {
maildomain => $DOMAINNAME,
password => '',
},
- needed_rpm => [ 'proftpd', 'openldap-servers', 'apache2', 'kolab-server' ],
+# needed_rpm => [ 'proftpd', 'openldap-servers', 'apache2', 'kolab-server' ],
# defaultimage => $ENV{__WIZ_HOME__},
};
@@ -58,6 +58,7 @@ $o->{pages} = {
welcome => {
name => N("Welcome to the Kolab Groupware server configuration Wizard.") . "\n\n" . N("Kolab is a secure, scalable and reliable groupware server. Some of the major features include: a web administration interface, a shared address book with provision for mailbox users as well as contacts and a POP3 as well as IMAP4(rev1) access to mail") . "\n\n" . N("Warning: Kolab needs to configure many other services: Proftpd, LDAP, Cyrus, Postfix, Imap, Saslauth. Wizard will make a backup of all your previous configuration files for these services."),
no_back => 1,
+ post => \&rpm_needed_kolab,
next => 'password',
},
# hostname => {
@@ -109,6 +110,19 @@ sub new {
}, $class;
}
+sub rpm_needed_kolab {
+ my $in = 'interactive'->vnew('su', 'Installing Kolab');
+ my $w = $in->wait_message(N("Install in progress"), N("Installing Kolab server on your system..."));
+ system("urpmi --auto kolab-server");
+ undef $w;
+ if (!$in->do_pkgs->is_installed("kolab-server")) {
+ $::Wizard_finished = 1;
+ $in->ask_okcancel(N("Error"), N("Installation failed"));
+ $in->exit;
+
+ }
+}
+
sub backup_conf {
my @conf = qw(/etc/postfix/main.cf
/etc/postfix/master.cf