summaryrefslogtreecommitdiffstats
path: root/lib/MDV
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MDV')
-rw-r--r--lib/MDV/Distribconf.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MDV/Distribconf.pm b/lib/MDV/Distribconf.pm
index bab6a76..c5193c1 100644
--- a/lib/MDV/Distribconf.pm
+++ b/lib/MDV/Distribconf.pm
@@ -458,6 +458,7 @@ sub getvalue {
/^os$/ and do { $default = 'linux'; last; };
/^gnu$/ and do { $default = 1; last; };
/^vendor$/ and do { $default = 'mandriva'; last; };
+ /^arch$/ and do { $default = `/bin/arch`; chomp($default); last; };
/^platform$/ and do {
$default = sprintf('%s-%s-%s%s',
$distrib->getvalue($media, 'arch'),