diff options
author | Funda Wang <fwang@mandriva.org> | 2005-07-22 12:08:17 +0000 |
---|---|---|
committer | Funda Wang <fwang@mandriva.org> | 2005-07-22 12:08:17 +0000 |
commit | 01608291c1cf15c992285d86eda76b4d21d8a556 (patch) | |
tree | 78b6d86d86bc0616647197dff724f1786b5d23e0 /perl-install/Xconfig | |
parent | f9ec29492503dfc21564e262919214df24fdc3aa (diff) | |
download | drakx-backup-do-not-use-01608291c1cf15c992285d86eda76b4d21d8a556.tar drakx-backup-do-not-use-01608291c1cf15c992285d86eda76b4d21d8a556.tar.gz drakx-backup-do-not-use-01608291c1cf15c992285d86eda76b4d21d8a556.tar.bz2 drakx-backup-do-not-use-01608291c1cf15c992285d86eda76b4d21d8a556.tar.xz drakx-backup-do-not-use-01608291c1cf15c992285d86eda76b4d21d8a556.zip |
Adopt to new mandriva-theme package naming schema, see bug#16977.
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r-- | perl-install/Xconfig/resolution_and_depth.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm index bc4a0d784..b99e62bac 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -236,7 +236,7 @@ sub set_default_background { sort { $a->[1] <=> $b->[1] || $b->[2] <=> $a->[2] || $a->[1] <=> $b->[1]; } map { - if (my ($X, $Y) = /^Mandrivalinux-(\d+)x(\d+).png$/) { + if (my ($X, $Y) = /^Mandriva-(\d+)x(\d+).png$/) { [ $_, int(abs($ratio - $X / $Y) * 100), #- we want the nearest ratio (precision .01) |