Subversion Repositories ALCASAR

Rev

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

Rev 2489 Rev 2507
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-rpm-download.sh 2489 2018-02-25 23:43:08Z tom.houdayer $
2
# $Id: alcasar-rpm-download.sh 2507 2018-03-11 14:08:05Z rexy $
3
 
3
 
4
# alcasar-urpmi.sh
4
# alcasar-urpmi.sh
5
# by Franck BOUIJOUX and Richard REY
5
# by Franck BOUIJOUX and Richard REY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 52... Line 52...
52
IFS="$old"
52
IFS="$old"
53
# We prefer wget than curl
53
# We prefer wget than curl
54
wget_exist=`rpm -qa|grep wget|wc -l`
54
wget_exist=`rpm -qa|grep wget|wc -l`
55
if [ "$wget_exist" -eq "0" ]
55
if [ "$wget_exist" -eq "0" ]
56
then
56
then
57
	urpmi --no-verify-rpm --auto ../../conf/rpms/$ARCH/wget*.rpm
57
	urpmi --no-verify-rpm --auto ../rpms/$ARCH/wget*.rpm
58
fi
58
fi
59
# Set the RPM repository
59
# Set the RPM repository
60
MIRROR_NBR=2
60
MIRROR_NBR=2
61
#                       For french ALCASARistes
61
#                       For french ALCASARistes
62
MIRRORLIST1="http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/$VERSION/$ARCH"
62
MIRRORLIST1="http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/$VERSION/$ARCH"