From: Erik van der Kouwe Date: Sun, 20 Jun 2010 06:39:23 +0000 (+0000) Subject: Packman also recognizes package names with no or partial version number X-Git-Tag: v3.1.8~434 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.named-checkzone.html?a=commitdiff_plain;h=90285c46a2a4e5f0b8551b2a02a96ac1924024ae;p=minix.git Packman also recognizes package names with no or partial version number --- diff --git a/commands/packman/packman.sh b/commands/packman/packman.sh index 56d4943c6..bac7b837b 100644 --- a/commands/packman/packman.sh +++ b/commands/packman/packman.sh @@ -192,7 +192,7 @@ do cd $TMPDIR do ok=y if [ $packlistno -eq 0 ] - then pat="^[0-9]\+|$packno|" + then pat="^[0-9]\+|$packno[-|.]" else pat="^$packno|" fi if [ "`grep -c $pat $TMPF`" -ne 1 ]