Subversion Repositories ALCASAR

Rev

Rev 3230 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3230 Rev 3238
Line 56... Line 56...
56
 
56
 
57
# We prefer wget than curl
57
# We prefer wget than curl
58
wget_exist=`rpm -qa|grep wget|wc -l`
58
wget_exist=`rpm -qa|grep wget|wc -l`
59
if [ "$wget_exist" -eq "0" ]
59
if [ "$wget_exist" -eq "0" ]
60
then
60
then
61
	urpmi --no-verify-rpm --auto rpms/$ARCH/wget*.rpm
61
	urpmi --no-verify-rpm --auto rpms/$ARCH/wget*.rpm && rm -f rpms/$ARCH/wget*.rpm
-
 
62
else
-
 
63
	rm -f rpms/$ARCH/wget*.rpm
62
fi
64
fi
63
# Set the RPM repository (if not already set)
65
# Set the RPM repository (if not already set)
64
cp /etc/urpmi/urpmi.cfg /etc/urpmi/urpmi.cfg.old
66
cp /etc/urpmi/urpmi.cfg /etc/urpmi/urpmi.cfg.old
65
ACTIVE_REPO=`cat /etc/urpmi/urpmi.cfg|grep "mageia.org"|wc -l`
67
ACTIVE_REPO=`cat /etc/urpmi/urpmi.cfg|grep "mageia.org"|wc -l`
66
MIRROR_NBR=3
68
MIRROR_NBR=3