-PKGFILE=${REPO//\//_}_${SUITE}_${SECTION}_binary-${ARCH}_Packages
-if [ ! -r $PKGFILE ] ; then
- wget -O - http://$REPO/dists/$SUITE/$SECTION/binary-$ARCH/Packages.xz | \
- xzcat - > ${PKGFILE}
-fi
-
-# Reduce that Packages file into two maps for finding filename and depends
-echo "# Creating mapdepends.txt and mapfile.txt"
-awk '
-BEGIN { print "###" > "mapdepends.txt"; print "###" > "mapfile.txt"; }
+ echo '# Reduce Packages file into two maps for filename and depends'
+ echo "# ..creating mapdepends.txt and mapfile.txt"
+ awk '
+ BEGIN { print "###" >> "mapdepends.txt"; print "###" >> "mapfile.txt"; }