From ae79e8bba0414d28cc9845273aa09a9a36f4ab36 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 27 Jul 2013 20:02:32 -0400 Subject: update_feeds(): Fix this crap. --- (limited to 'lib/index.sh') diff --git a/lib/index.sh b/lib/index.sh index e555b4a..57ace59 100644 --- a/lib/index.sh +++ b/lib/index.sh @@ -108,7 +108,7 @@ update_feeds() continue fi # For each section: - for sect_direct in "${archplat_dirent}/"*/; do + for sect_dirent in "${archplat_dirent}/"*/; do if [ ! -d "${sect_dirent}" ]; then continue fi @@ -117,7 +117,7 @@ update_feeds() sed "${script}")" # For each package name hash: for hash_dirent in "${sect_dirent}/"*; do - if [ ! -d "${hash_dirent}" ]; then + if [ ! -f "${hash_dirent}" ]; then continue fi idx="${feed}/.db/${hash_dirent##*/}" -- cgit v0.9.1