$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'; $d=opendir("mirror.list"); if ($d) { while (($file=readdir($d))!==false) { if ($file != "." && $file != "..") parse_line(parse_liste("mirror.list/".$file)); } closedir($d); } 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)) { while (list($key,$val)=each($list)) { echo "

"; echo "Source $key "; echo "
"; if ($val[$mirror[$key]]) echo "urpmi.addmedia ".$key." ". $val[$mirror[$key]].""; echo "

\n"; } echo ""; 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$