Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1011 → Rev 1012

/scripts/sbin/alcasar-rpm-download.sh
55,13 → 55,13
# For International install
MIRRORLIST2="http://mirrors.mageia.org/api/mageia.$VERSION.$ARCH.list"
try_nb="0"; nb_repository="0"
while [ "$nb_repository" != "4" ]
while [ "$nb_repository" != "2" ]
do
try_nb=`expr $try_nb + 1`
MIRRORLIST="MIRRORLIST$try_nb"
rpm_repository_sync
nb_repository=`cat /etc/urpmi/urpmi.cfg|grep mirrorlist|wc -l`
if [ "$nb_repository" != "4" ]
if [ "$nb_repository" != "2" ]
then
echo "Une erreur a été détectée lors de la synchronisation avec le dépot N°$try_nb."
echo "An error occurs when synchronising the repositories N°$try_nb"
136,6 → 136,6
urpmi --clean
mv rpms-$ARCH.tar.gz /root/
cd
echo "Your RPM archive : rpms-$ARCH.tar.gz"
echo "Your RPM archive file is /root/rpms-$ARCH.tar.gz"
exit 0