summaryrefslogtreecommitdiffstats
path: root/perl-install/bootlook.pm
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2001-03-30 11:32:26 +0000
committerYves Duret <yduret@mandriva.com>2001-03-30 11:32:26 +0000
commit8698bb2835a880e499dc984569827fd7c371ad57 (patch)
tree11e92b858439230d3cff7d8ade002d8a293e02a4 /perl-install/bootlook.pm
parent9f85ccc6a4a2ee247319819cd23cf04809cbe998 (diff)
downloaddrakx-backup-do-not-use-8698bb2835a880e499dc984569827fd7c371ad57.tar
drakx-backup-do-not-use-8698bb2835a880e499dc984569827fd7c371ad57.tar.gz
drakx-backup-do-not-use-8698bb2835a880e499dc984569827fd7c371ad57.tar.bz2
drakx-backup-do-not-use-8698bb2835a880e499dc984569827fd7c371ad57.tar.xz
drakx-backup-do-not-use-8698bb2835a880e499dc984569827fd7c371ad57.zip
remove nmap (buggy)
Diffstat (limited to 'perl-install/bootlook.pm')
-rw-r--r--perl-install/bootlook.pm21
1 files changed, 13 insertions, 8 deletions
diff --git a/perl-install/bootlook.pm b/perl-install/bootlook.pm
index a15c9089f..ce1dfed4a 100644
--- a/perl-install/bootlook.pm
+++ b/perl-install/bootlook.pm
@@ -302,15 +302,20 @@ sub updateInit
sub updateAurora
{
if ($a_mode) {
- mapn {
- if ($_[0]) {
- symlinkf("/lib/aurora/Monitors/$_[1]", "/etc/aurora/Monitor");
- $in->standalone::pkgs_install($_[2]) if !(-e "/lib/aurora/Monitors/$_[1]");
- }
+ if ($a_h_button->get_active()) {
+ symlinkf("/lib/aurora/Monitors/NewStyle-WsLib", "/etc/aurora/Monitor");
+ $in->standalone::pkgs_install(qw(Aurora-Monitor-NewStyle-WsLib)) if !(-e "/lib/aurora/Monitors/NewStyle-WsLib");
+ }
+
+ if ($a_v_button->get_active()) {
+ symlinkf("/lib/aurora/Monitors/Traditional-WsLib", "/etc/aurora/Monitor");
+ $in->standalone::pkgs_install(qw(Aurora-Monitor-Traditional-WsLib)) if !(-e "/lib/aurora/Monitors/Traditional-WsLib");
+ }
+
+ if ($a_g_button->get_active()) {
+ symlinkf("/lib/aurora/Monitors/Traditional-Gtk+", "/etc/aurora/Monitor");
+ $in->standalone::pkgs_install(qw(Aurora-Monitor-Traditional-Gtk+)) if !(-e "/lib/aurora/Monitors/Traditional-Gtk+");
}
- [$a_h_button->get_active(), "NewStyle-WsLib", q(Aurora-Monitor-NewStyle-WsLib)],
- [$a_v_button->get_active(), "Traditional-WsLib", q(Aurora-Monitor-Traditional-WsLib)],
- [$a_g_button->get_active(), "Traditional-Gtk+", q(Aurora-Monitor-Traditional-Gtk+)];
} else {
unlink "/etc/aurora/Monitor";
}