Force installing cached RPMs

This commit is contained in:
Mikhail Novosyolov 2019-03-09 19:19:14 +03:00
parent bd59cfb08f
commit df2fe85a3d
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
Summary: Tools for building live CDs
Name: livecd-tools
Version: 21.1
Release: 49
Release: 50
Epoch: 1
License: GPLv2+
Group: System/Base

View file

@ -101,7 +101,7 @@ if [ -n "${failed_pkgs}" ]; then
( set +f
urpmi_cache="${urpmiRoot}/var/cache/urpmi/rpms"
#rpm -Uvh --nodeps ${urpmi_cache}/*.rpm || :
urpmi ${urpmi_cache}/*.rpm || :)
urpmi --auto --no-suggests ${urpmi_cache}/*.rpm || : )
fi
# Now, regardless success of installing one-by-one, let's install all packages and see if it will be successfull