112,12 → 112,20 |
then |
echo |
echo "Une erreur a été détectée lors de la récupération des paquetages." |
echo "An error occurs when downloading" |
echo "An error occurs when downloading RPMS" |
rpm_error |
exit 1 |
fi |
# update with cached RPM |
urpmi --auto --auto-update |
if [ "$?" != "0" ] |
then |
echo |
echo "Une erreur a été détectée lors de la mise à jour des paquetages." |
echo "An error occurs when updating packages" |
rpm_error |
exit 1 |
fi |
# Clean the RPM cache |
urpmi --clean |
# Download of ALCASAR specifics RPM in cache (and test) |
134,6 → 142,14 |
fi |
# update with cached RPM |
urpmi --auto $PACKAGES |
if [ "$?" != "0" ] |
then |
echo |
echo "Une erreur a été détectée lors de l'installation des paquetages complémentaires." |
echo "An error occurs when installing complementary packages" |
rpm_error |
exit 1 |
fi |
# delete old alcasar RPMs |
for rm_rpm in c-icap-server lib64chilli0 libchilli0 python-coova-chilli |
do |