* Does now detect packages in non-free even if there are no
other packages (from main) on the CD.
This commit is contained in:
parent
8d5ca3775b
commit
5ab298e730
|
@ -147,10 +147,14 @@ DISTS=""
|
|||
DISTSNONUS=""
|
||||
for i in `cd dists; echo *; cd ..`; do
|
||||
if [ ! -L "dists/$i" -a -d "dists/$i" ]; then
|
||||
if [ -d "dists/$i/main/binary-$ARCH" ]; then
|
||||
if [ -d "dists/$i/main/binary-$ARCH" -o \
|
||||
-d "dists/$i/non-free/binary-$ARCH" -o \
|
||||
-d "dists/$i/contrib/binary-$ARCH" ]; then
|
||||
DISTS="$DISTS $i"
|
||||
fi
|
||||
if [ -d "dists/$i/non-US/main/binary-$ARCH" ]; then
|
||||
if [ -d "dists/$i/non-US/main/binary-$ARCH" -o \
|
||||
-d "dists/$i/non-US/non-free/binary-$ARCH" -o \
|
||||
-d "dists/$i/non-US/contrib/binary-$ARCH" ]; then
|
||||
DISTSNONUS="$DISTSNONUS $i"
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -22,10 +22,14 @@ DISTS=""
|
|||
DISTSNONUS=""
|
||||
for i in `cd dists; echo *; cd ..`; do
|
||||
if [ ! -L "dists/$i" -a -d "dists/$i" ]; then
|
||||
if [ -d "dists/$i/main/source" ]; then
|
||||
if [ -d "dists/$i/main/source" -o \
|
||||
-d "dists/$i/non-free/source" -o \
|
||||
-d "dists/$i/contrib/source" ]; then
|
||||
DISTS="$DISTS $i"
|
||||
fi
|
||||
if [ -d "dists/$i/non-US/main/source" ]; then
|
||||
if [ -d "dists/$i/non-US/main/source" -o \
|
||||
-d "dists/$i/non-US/non-free/source" -o \
|
||||
-d "dists/$i/non-US/contrib/source" ]; then
|
||||
DISTSNONUS="$DISTSNONUS $i"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue