mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 15:42:58 +00:00
Fix sorting packages
This commit is contained in:
parent
f81ab0cccc
commit
6a655f5f4b
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue