Subversion Repositories ALCASAR

Rev

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

Rev 3216 Rev 3219
Line 211... Line 211...
211
	if [ $i != $KERNEL ];then
211
	if [ $i != $KERNEL ];then
212
		urpme --auto $i
212
		urpme --auto $i
213
	fi
213
	fi
214
done
214
done
215
 
215
 
216
# delete unused RPMs
216
# delete unused or not usefull RPMs
217
if [ $Lang == "fr" ]
217
if [ $Lang == "fr" ]
218
then
218
then
219
	echo "Cleaning the system : "
219
	echo "Cleaning the system : "
220
else
220
else
221
	echo "Nettoyage du système : "
221
	echo "Nettoyage du système : "
222
fi
222
fi
223
unused_rpm="shorewall mandi plymouth squid polkit pm-utils dnsmasq clamav clamd clamav-db"
223
unused_rpm="shorewall mandi plymouth squid polkit pm-utils dnsmasq clamav clamd clamav-db tracker"
224
/usr/sbin/urpme --auto -a $unused_rpm
224
/usr/sbin/urpme --auto -a $unused_rpm
225
for distrib in mga7 mga8
225
for distrib in mga7 mga8
226
do
226
do
227
	for rpm in `rpm -qa|grep $distrib`; do urpme --auto $rpm; done
227
	for rpm in `rpm -qa|grep $distrib`; do urpme --auto $rpm; done
228
done
228
done