#! /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>
#
}
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));