Subversion Repositories ALCASAR

Rev

Rev 323 | Rev 333 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 323 Rev 330
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#  $Id: alcasar.sh 323 2010-11-16 22:48:34Z richard $ 
2
#  $Id: alcasar.sh 330 2010-11-19 18:24:51Z franck $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT 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 167... Line 167...
167
                        if [ "$ORGANISME" = "" ]
167
			if [ "$ORGANISME" = "" ]
168
                                then
168
				then
169
                                ORGANISME=!
169
				ORGANISME=!
170
                        fi
170
			fi
171
                done
171
		done
-
 
172
	else 
-
 
173
# Mise à jour de la version actuelle
-
 
174
		urpmi --auto-update --auto
172
	fi
175
	fi
-
 
176
 
173
# On configure les dépots et on les teste 
177
# On configure les dépots et on les teste 
174
	echo "Configuration des dépôts de paquetages Internet (repository)"
178
	echo "Configuration des dépôts de paquetages Internet (repository)"
175
	chmod u+x $DIR_SCRIPTS/alcasar-urpmi.sh
179
	chmod u+x $DIR_SCRIPTS/alcasar-urpmi.sh
176
	$DIR_SCRIPTS/alcasar-urpmi.sh >/dev/null
180
	$DIR_SCRIPTS/alcasar-urpmi.sh >/dev/null
177
	if [ "$?" != "0" ]
181
	if [ "$?" != "0" ]