Fix sorting packages

This commit is contained in:
Mikhail Novosyolov 2019-03-09 02:57:31 +03:00
parent f81ab0cccc
commit 6a655f5f4b
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -79,7 +79,8 @@ process_packages
if [ "$urpmi_return_code" = 0 ]; then exit 0; fi
# If installing packages still failed, let's try to install them one-by-one
for i in $(echo "${packagesList_orig}" | sort -u)
packagesList_sorted="$(echo "${packagesList_orig}" | tr ' ' '\n' | sort -u)"
for i in ${packagesList_sorted}
do
( set +e
packagesList="$i"