summaryrefslogtreecommitdiffstats
path: root/perl-install/bootlook.pm
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2001-03-22 15:04:09 +0000
committerYves Duret <yduret@mandriva.com>2001-03-22 15:04:09 +0000
commitd6bec3867691ef49416b84ee3ec4daf78bdb855f (patch)
tree70cd42c29b99c982991f72462e051a4bcc82c74c /perl-install/bootlook.pm
parent28507d5d3b0d32d02df5f0c16682d9cd1c54b417 (diff)
downloaddrakx-backup-do-not-use-d6bec3867691ef49416b84ee3ec4daf78bdb855f.tar
drakx-backup-do-not-use-d6bec3867691ef49416b84ee3ec4daf78bdb855f.tar.gz
drakx-backup-do-not-use-d6bec3867691ef49416b84ee3ec4daf78bdb855f.tar.bz2
drakx-backup-do-not-use-d6bec3867691ef49416b84ee3ec4daf78bdb855f.tar.xz
drakx-backup-do-not-use-d6bec3867691ef49416b84ee3ec4daf78bdb855f.zip
added install of rpm
Diffstat (limited to 'perl-install/bootlook.pm')
-rw-r--r--perl-install/bootlook.pm21
1 files changed, 14 insertions, 7 deletions
diff --git a/perl-install/bootlook.pm b/perl-install/bootlook.pm
index 17e497c44..7929c4144 100644
--- a/perl-install/bootlook.pm
+++ b/perl-install/bootlook.pm
@@ -222,10 +222,6 @@ if ($a_mode) {
$pixmap->set($t_pixmap, $t_mask);
}
-#$a_h_button->hide() if !(-e "/lib/aurora/Monitors/NewStyle-WsLib");
-#$a_v_button->hide() if !(-e "/lib/aurora/Monitors/Traditional-WsLib");
-#$a_g_button->hide() if !(-e "/lib/aurora/Monitors/Traditional-Gtk+");
-
$inmain=1;
main Gtk;
@@ -299,9 +295,20 @@ sub updateInit
sub updateAurora
{
if ($a_mode) {
- symlinkf("/lib/aurora/Monitors/NewStyle-WsLib", "/etc/aurora/Monitor") if $a_h_button->get_active();
- symlinkf("/lib/aurora/Monitors/Traditional-WsLib", "/etc/aurora/Monitor") if $a_v_button->get_active();
- symlinkf("/lib/aurora/Monitors/Traditional-Gtk+", "/etc/aurora/Monitor") if $a_g_button->get_active();
+ 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+");
+ }
} else {
unlink "/etc/aurora/Monitor";
}