summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-04 05:51:32 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-04 05:51:32 +0000
commit307d8491e06b41081fce73a6cd5c8e1ee115b686 (patch)
tree82cdee5883483b931e898f43f94b3b59ff1abf13 /perl-install
parentdf4874571f3ecdffba838671bc9db0a8db80f6ee (diff)
downloaddrakx-backup-do-not-use-307d8491e06b41081fce73a6cd5c8e1ee115b686.tar
drakx-backup-do-not-use-307d8491e06b41081fce73a6cd5c8e1ee115b686.tar.gz
drakx-backup-do-not-use-307d8491e06b41081fce73a6cd5c8e1ee115b686.tar.bz2
drakx-backup-do-not-use-307d8491e06b41081fce73a6cd5c8e1ee115b686.tar.xz
drakx-backup-do-not-use-307d8491e06b41081fce73a6cd5c8e1ee115b686.zip
read progress bar settings
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootsplash.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/bootsplash.pm b/perl-install/bootsplash.pm
index 24446d5a9..8968f6e45 100644
--- a/perl-install/bootsplash.pm
+++ b/perl-install/bootsplash.pm
@@ -108,7 +108,9 @@ sub theme_set_image_for_resolution {
sub theme_read_config_for_resolution {
my ($theme, $res) = @_;
- +{ getVarsFromSh(theme_get_config_for_resolution($theme, $res)) };
+ my $file = theme_get_config_for_resolution($theme, $res);
+ my ($pb_x1, $pb_y1, $pb_x2, $pb_y2) = cat_($file) =~ /^box silent noover (\d+) (\d+) (\d+) (\d+)/m;
+ { px => $pb_x1, pw => $pb_x2 - $pb_x1, py => $pb_y1, ph => $pb_y2 - $pb_y1, getVarsFromSh($file) };
}
sub theme_write_config_for_resolution {