From owner-cvs-all@FreeBSD.ORG Mon Oct 10 12:35:31 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F80A16A41F; Mon, 10 Oct 2005 12:35:31 +0000 (GMT) (envelope-from krion@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A88E43D49; Mon, 10 Oct 2005 12:35:31 +0000 (GMT) (envelope-from krion@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j9ACZVuT003968; Mon, 10 Oct 2005 12:35:31 GMT (envelope-from krion@repoman.freebsd.org) Received: (from krion@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9ACZVLU003967; Mon, 10 Oct 2005 12:35:31 GMT (envelope-from krion) Message-Id: <200510101235.j9ACZVLU003967@repoman.freebsd.org> From: Kirill Ponomarew Date: Mon, 10 Oct 2005 12:35:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/pkg_install/version perform.c test-pkg_version.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2005 12:35:31 -0000 krion 2005-10-10 12:35:31 UTC FreeBSD src repository Modified files: usr.sbin/pkg_install/version perform.c test-pkg_version.sh Log: * pkg_version(1) exits if INDEX files is not found and -I is not specified. The result is that the package will be listed with a '?' as if it was not found within the INDEX file, so fix this behaviour. * Remove trailing spaces. PR: bin/87136 Submitted by: Sean Farley MFC after: 3 days Revision Changes Path 1.14 +9 -4 src/usr.sbin/pkg_install/version/perform.c 1.6 +1 -1 src/usr.sbin/pkg_install/version/test-pkg_version.sh