$list_location[$mach["host"]]) $list_location[$mach["host"]] = $val['location']; if ($val['url']) $list[$val['name']][$mach["host"]]=$val['url']; } } if (!$user['mdkver']) $user['mdkver']="9.0"; if (!$user['arch']) $user['arch']='i586'; parse_line(readfiles()); echo "

Easy urpmi config for Mandrake

\n"; echo "
\n"; echo "

1) select your system

"; ?>

Cooker is a devel, don't use it if you're not sure what you are doing.
main is the core of the mandrake distro, updates is official updates, only these two have offical Mandrake's support ! plf is for mandrake distro, but don't come from MandrakeSoft, see PLF page.

Mandrake version: "; echo ""; echo " and architecture: "; echo " "; echo ""; echo "

\n"; ?>

A '*' will select only source can be apply to all


2) For each source select a mirror

"; ?>

It will give you the right command to use to setup urpmi

"; echo ""; echo ""; if (is_array($list)) { ksort($list); while (list($key,$val)=each($list)) { echo "

"; echo "Source $key: "; if ($globinfo[':source'][$key]) { echo $globinfo[':source'][$key]; } echo "
"; echo "
"; echo "

\n"; } echo ""; echo ""; echo "\n

3) Type this in a console

\n"; echo "\n"; reset($list); while (list($key,$val)=each($list)) { if ($val[$mirror[$key]] && $selection[$key]) echo "urpmi.addmedia ".$key." ". $val[$mirror[$key]]."
\n"; } echo "
"; } else { echo "

I am very sorry, there are no mirror available for your system

"; } ?>
If you're unable to find your mirror, mail me, I will add it.
Report me error too, Thanks, enjoy :)
Olivier Thauvin
This soft is under GPL
Original site
$Id$