From owner-svn-ports-all@FreeBSD.ORG Tue Nov 5 06:44:50 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 60D7E324; Tue, 5 Nov 2013 06:44:50 +0000 (UTC) (envelope-from vg.freebsd@gmail.com) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2AC892F65; Tue, 5 Nov 2013 06:44:48 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id er20so1737962lab.20 for ; Mon, 04 Nov 2013 22:44:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=3viDgEgL2I6n9fpYXjTL6S4hESxlhJPHXnCgMC7bJkU=; b=kvmuvrL893Kf3vjuLk4M32LTSY4ooZi7l9jLWZKPKJfKeTwl7eSJpnqMo18gl4KkeR 6+0MqXQ19nZjxD5r2Nl2BgG5csFm0UxQKt2lsLidSordNvUXNMLa0Cmmx0WMtIhAMju2 Bq84UIgnlv5Jd/vgX/6M7tMKjAXIsoU6d0Toon6hhAmcAc8F1b7gBcEDJvN8NGEWanMY pxQ0H9nhpEvgOemqcRcrAoGtdXtcc2rrJJzxm9YSfum+gC1EROaei+pkww3ZDgR+/Lqv 9MlzwJ3tKfqotyx3Ppm04Nz5xX/VaPIL5omS/Mm7++njHj8RSQtXQ2SO+OfNiR3uhvQg fBNA== X-Received: by 10.112.236.97 with SMTP id ut1mr4580265lbc.37.1383633886504; Mon, 04 Nov 2013 22:44:46 -0800 (PST) Received: from dmt.hq.begun.ru ([91.192.150.18]) by mx.google.com with ESMTPSA id b1sm26419947lah.6.2013.11.04.22.44.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Nov 2013 22:44:45 -0800 (PST) Sender: Veniamin Gvozdikov Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1816\)) Subject: Re: svn commit: r332285 - in head/sysutils/py-salt: . files From: Veniamin Gvozdikov In-Reply-To: <213e39acbc007c734bfdf92365bf3e73@shatow.net> Date: Tue, 5 Nov 2013 10:44:55 +0400 Message-Id: References: <201310312048.r9VKmmgj052977@svn.freebsd.org> <213e39acbc007c734bfdf92365bf3e73@shatow.net> To: Bryan Drewery X-Mailer: Apple Mail (2.1816) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, owner-ports-committers@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Nov 2013 06:44:50 -0000 On Nov 5, 2013, at 3:28 AM, Bryan Drewery wrote: >> This is not safe with pkg-1.1 as the /usr/local/etc/pkg.conf file is = optional. >> The best is to execute pkg itself to find out if it is available. >> This command returning 0 status means pkg is installed and ready for >> use. 0 is not installed. >=20 > 0 =3D installed > non-zero =3D not installed I=92ll talk with developers, they are planing to release bugfix = https://github.com/saltstack/salt/blob/develop/salt/modules/pkgng.py#L101-= L125 . Need to change at upstream before next release which will in this = week.=