diff options
-rwxr-xr-x | control-center | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/control-center b/control-center index 6357fbe4..5362c2bb 100755 --- a/control-center +++ b/control-center @@ -37,7 +37,7 @@ use ugtk2 qw(:create :dialogs :helpers :wrappers); #------------------------------------------------------------- # paths my ($bindir, $sbindir, $xbindir) = ("/usr/bin", "/usr/sbin", "/usr/X11R6/bin"); -my ($mcc_dir, $wizdir) = ("/usr/share/mcc", "/usr/share/wizards/"); +my $mcc_dir = "/usr/share/mcc"; my $themes_dir = "$mcc_dir/themes/"; @@ -228,30 +228,25 @@ my @tree = [ "Software Media Manager", 'source-manager' ], ] ]), - if_(0 && $::isWiz, + if_($::isWiz, [ N("Server Configuration"), 'wizard-mdk', [ (map { - my ($id, $wizard, $icon, $description) = @$_; - my $path = $wizdir . $wizard . "_wizard/" . $wizard . ".wiz"; - if (-e $path) { - $exec_hash->{$id} = [ "drakwizard", "$sbindir/drakwizard $path", -1, $description ]; - [ $id, $icon ]; - } else { - (); - } + my ($id, $wizard, $icon, $description) = @$_; + $exec_hash->{$id} = [ "drakwizard", "$sbindir/drakwizard $wizard", -1, $description ]; + [ $id, $icon ]; } (# [ id, wizard file name, icon, description ] [ "DHCP wizard", "dhcp", 'dhcp_server-mdk', N("The DHCP wizard will help you configuring the DHCP services of your server") ], - [ "DNS Client wizard", "client", 'dns_client-mdk', N("The DNS Client wizard will help you in adding a new client in your local DNS") ], - [ "DNS wizard", "dns", 'dns_server-mdk', N("The DNS wizard will help you configuring the DNS services of your server.") ], - [ "FTP wizard", "ftp", 'ftp-mdk', N("The FTP wizard will help you configuring the FTP Server for your network") ], - [ "News wizard", "news", 'news-mdk', N("The News wizard will help you configuring the Internet News services for your network") ], + [ "DNS Client wizard", "bind_client", 'dns_client-mdk', N("The DNS Client wizard will help you in adding a new client in your local DNS") ], + [ "DNS wizard", "bind", 'dns_server-mdk', N("The DNS wizard will help you configuring the DNS services of your server.") ], + [ "FTP wizard", "proftpd", 'ftp-mdk', N("The FTP wizard will help you configuring the FTP Server for your network") ], + [ "News wizard", "inn", 'news-mdk', N("The News wizard will help you configuring the Internet News services for your network") ], [ "Postfix wizard", "postfix", 'postfix-mdk', N("The Postfix wizard will help you configuring the Internet Mail services for your network") ], - [ "Squid wizard", "proxy", 'drakproxy-mdk.png', N("The Proxy wizard will help you configuring a web caching proxy server") ], + [ "Squid wizard", "squid", 'drakproxy-mdk.png', N("The Proxy wizard will help you configuring a web caching proxy server") ], [ "Samba wizard", "samba", 'samba_server-mdk', N("The Samba wizard will help you configuring your server to behave as a file and print server for workstations running non-Linux systems") ], - [ "Time wizard", "time", 'ntp_server-mdk', N("The Time wizard will help you to set the time of your server synchronized with an external time server") ], - [ "Web wizard", "web", 'web_server-mdk', N("The Web wizard will help you configuring the Web Server for your network") ] - ) + [ "Time wizard", "ntp", 'ntp_server-mdk', N("The Time wizard will help you to set the time of your server synchronized with an external time server") ], + + [ "Web wizard", "apache2", 'web_server-mdk', N("The Web wizard will help you configuring the Web Server for your network") ] ) ) ] ]), |