Subversion Repositories ALCASAR

Rev

Rev 532 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 532 Rev 582
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: alcasar-urpmi.sh 532 2011-04-05 22:17:43Z richard $
2
# $Id: alcasar-urpmi.sh 582 2011-04-22 22:04:40Z richard $
3
# script de mise en place des dépots RPM 
3
# script de mise en place des dépots RPM 
4
# 3abtux & rexy
4
# 3abtux & rexy
5
 
5
 
6
VERSION="2010.2"
6
VERSION="2010.2"
7
ARCH="i586" 
7
ARCH="i586" 
Line 50... Line 50...
50
		ARCH=`echo $i|cut -d"=" -f2`
50
		ARCH=`echo $i|cut -d"=" -f2`
51
	fi
51
	fi
52
done
52
done
53
IFS="$old"
53
IFS="$old"
54
# We prefer wget than curl
54
# We prefer wget than curl
55
urpmi --no-verify-rpm conf/rpms/$ARCH/wget*.rpm
55
urpmi --no-verify-rpm --auto conf/rpms/$ARCH/wget*.rpm
56
# Set the RPM repository
56
# Set the RPM repository
57
MIRROR_NBR=2
57
MIRROR_NBR=2
58
#                       For french ALCASARistes
58
#                       For french ALCASARistes
59
MIRRORLIST1="http://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/$VERSION/$ARCH"
59
MIRRORLIST1="http://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/$VERSION/$ARCH"
60
#                       For International install
60
#                       For International install