Subversion Repositories ALCASAR

Rev

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

Rev 2972 Rev 2980
Line 272... Line 272...
272
done
272
done
273
if [ $count_pkg -ne $nb_pkg ]
273
if [ $count_pkg -ne $nb_pkg ]
274
then
274
then
275
	exit 1
275
	exit 1
276
fi
276
fi
277
# Avoid some RPM automatic updates
-
 
278
echo "/^kernel/" > /etc/urpmi/skip.list
-
 
279
echo "/^wkhtmltopdf/" >> /etc/urpmi/skip.list
-
 
280
echo "/^clamd/" >> /etc/urpmi/skip.list
-
 
281
echo "/^clamav/" >> /etc/urpmi/skip.list
-
 
282
echo "/^freeradius/" >> /etc/urpmi/skip.list
-
 
283
if [ `egrep '^exclude=' /etc/dnf/dnf.conf |wc -l` -eq "1" ]; then
-
 
284
	$SED "s?^exclude=.*?exclude=kernel\* wkhtmltopdf clamd clamav freeradius?g" /etc/dnf/dnf.conf
-
 
285
else
-
 
286
	echo "exclude=kernel* wkhtmltopdf clamd clamav freeradius" >> /etc/dnf/dnf.conf
-
 
287
fi
-
 
288
exit 0
277
exit 0