summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index f946d19dd..2842ad121 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -48,6 +48,7 @@ sub size2default_resolution {
my ($size) = @_; #- size in inch
if (arch() =~ /ppc/) {
+ require detect_devices;
return "1024x768" if detect_devices::get_mac_model() =~ /^PowerBook|^iMac/;
}