summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-23 15:25:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-23 15:25:30 +0000
commit692963621cddb58cf2f1744210fa415661fa30b6 (patch)
treee3b71fde91b2c3c5734b3b1aa76ccf7f1bb7ee05 /perl-install
parent7b7d7a41e14140a79fedf2f2e778c6d78b6dc9b2 (diff)
downloaddrakx-692963621cddb58cf2f1744210fa415661fa30b6.tar
drakx-692963621cddb58cf2f1744210fa415661fa30b6.tar.gz
drakx-692963621cddb58cf2f1744210fa415661fa30b6.tar.bz2
drakx-692963621cddb58cf2f1744210fa415661fa30b6.tar.xz
drakx-692963621cddb58cf2f1744210fa415661fa30b6.zip
cleanup is_xbox() here too
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 6a1f48675..792ff6534 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -258,7 +258,7 @@ sub check_for_xserver() {
}
sub is_xbox() {
- return any { $_->{vendor} . $_->{id} == hex('10de') . hex('02a5') } detect_devices::pci_probe();
+ any { $_->{vendor} == 0x10de && $_->{id} == 0x02a5 } detect_devices::pci_probe();
}
#- special unpack