Fix validating list of packages

This commit is contained in:
Mikhail Novosyolov 2019-03-09 00:54:23 +03:00
parent e6f0939a8a
commit 2329e6734a
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: 39
Release: 40
Epoch: 1
License: GPLv2+
Group: System/Base

View file

@ -31,7 +31,7 @@ urpmi_bootstrap(){
# This will validate that all requested packages do exist
# and will print a list of not existing ones.
# Returns 0 only if all packages do exist.
urpmq --sources --urpmi-root "$urpmiRoot" ${packagesList}
urpmq --whatprovides --urpmi-root "$urpmiRoot" ${packagesList} >/dev/null
# temporarily don't fail the whole scripts when not last iteration of urpmi fails
set +e