typo
authorespie <espie@openbsd.org>
Sun, 1 Aug 2010 10:04:24 +0000 (10:04 +0000)
committerespie <espie@openbsd.org>
Sun, 1 Aug 2010 10:04:24 +0000 (10:04 +0000)
usr.sbin/pkg_add/OpenBSD/PkgAdd.pm

index 8fa5f2d..c782995 100644 (file)
@@ -1,7 +1,7 @@
 #! /usr/bin/perl
 
 # ex:ts=8 sw=4:
-# $OpenBSD: PkgAdd.pm,v 1.11 2010/08/01 10:03:24 espie Exp $
+# $OpenBSD: PkgAdd.pm,v 1.12 2010/08/01 10:04:24 espie Exp $
 #
 # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
 #
@@ -379,7 +379,7 @@ sub install_issues
        }
 
        if (!$state->{allow_replacing}) {
-               if (grep { !/^.libs\d*\-/ && !/^partial\-/ } @conflicts) {
+               if (grep { !/^\.libs\d*\-/ && !/^partial\-/ } @conflicts) {
                        if (!$set->is_an_update_from(@conflicts)) {
                                $state->errsay("Can't install #1 because of conflicts (#2)",
                                    $set->print, join(',', @conflicts));