From 6640d83a787fce08d8ca1029dcafeed57a48bd0f Mon Sep 17 00:00:00 2001 From: dms Date: Fri, 22 Sep 2000 11:56:57 +0000 Subject: [PATCH] minor update git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@127 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Modules/Debian.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Modules/Debian.pl b/src/Modules/Debian.pl index 16d4fac..b1bfb48 100644 --- a/src/Modules/Debian.pl +++ b/src/Modules/Debian.pl @@ -796,7 +796,7 @@ sub infoStats { sub generateIndex { my (@dists) = @_; &main::status("Debian: !!! generateIndex() called !!!"); - if (!scalar @dists) { + if (!scalar @dists or $dists[0] eq '') { &main::ERROR("gI: no dists to generate index."); return 1; } -- 2.39.2