Hi!
Like now, when there are empty package directories on the mirrors, this check is useful in the wtf(6) script. Index: patches/patch-wtf =================================================================== RCS file: patches/patch-wtf diff -N patches/patch-wtf --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-wtf 15 Sep 2011 14:08:36 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- wtf.orig Thu Oct 4 11:44:38 2007 ++++ wtf Thu Sep 15 16:07:43 2011 +@@ -65,7 +65,7 @@ while [ $# -gt 0 ] ; do + + # Try pkg_info(1) next + ans=`pkg_info -qc $1 2> /dev/null` +- if [ $? -eq 0 ] ; then ++ if [ $? -eq 0 ] && [ x"${ans}" != x ] ; then + echo "$1: $ans" + shift ; continue + fi Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F