diff --git a/BLFS/gen-special.sh b/BLFS/gen-special.sh index b502cab..09ed608 100755 --- a/BLFS/gen-special.sh +++ b/BLFS/gen-special.sh @@ -97,9 +97,15 @@ EOF cat >> tmpfile << EOF EOF -# In the list, the preceding package is a dependency of the following, -# except the first: - precpack=NONE +# We extract the list of packages for an xorg page from +# the version part of the .xml file. Seems that +# the order is not always the same as in the "cat" command. +# So we have to read that command too, since it may be assumed +# that the preceding package is a dependency of the following, +# except the first. + list_cat="$(sed -n '/>cat/,/EOF>$SPECIAL_FILE << EOF $packname @@ -149,7 +161,6 @@ EOF ref EOF - precpack=$packname done cat >>$SPECIAL_FILE << EOF