summaryrefslogtreecommitdiffstats
path: root/lib/index.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/index.sh')
-rw-r--r--lib/index.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/index.sh b/lib/index.sh
index 57ace59..5fcaf5c 100644
--- a/lib/index.sh
+++ b/lib/index.sh
@@ -127,6 +127,7 @@ update_feeds()
>"${idx}/Packages"
else
rm -f "${idx}/Packages"
+ try_rmdir "${idx}"
fi
rm -f "${hash_dirent}"
done