From owner-svn-src-all@FreeBSD.ORG Sat Oct 13 14:45:43 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2FDF3333; Sat, 13 Oct 2012 14:45:43 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1802C8FC08; Sat, 13 Oct 2012 14:45:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9DEjgVr038489; Sat, 13 Oct 2012 14:45:42 GMT (envelope-from ume@svn.freebsd.org) Received: (from ume@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9DEjg0m038486; Sat, 13 Oct 2012 14:45:42 GMT (envelope-from ume@svn.freebsd.org) Message-Id: <201210131445.q9DEjg0m038486@svn.freebsd.org> From: Hajimu UMEMOTO Date: Sat, 13 Oct 2012 14:45:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241507 - head/etc/periodic/daily X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2012 14:45:43 -0000 Author: ume Date: Sat Oct 13 14:45:42 2012 New Revision: 241507 URL: http://svn.freebsd.org/changeset/base/241507 Log: Make a command for pkg_info changeable like pkg_version in /etc/periodic/weekly/400.status-pkg to be friendly with pkgng. MFC after: 1 week Modified: head/etc/periodic/daily/490.status-pkg-changes Modified: head/etc/periodic/daily/490.status-pkg-changes ============================================================================== --- head/etc/periodic/daily/490.status-pkg-changes Sat Oct 13 13:00:51 2012 (r241506) +++ head/etc/periodic/daily/490.status-pkg-changes Sat Oct 13 14:45:42 2012 (r241507) @@ -23,7 +23,7 @@ case "$daily_status_pkg_changes_enable" if [ -f $bak/pkg_info.bak ]; then mv -f $bak/pkg_info.bak $bak/pkg_info.bak2 fi - /usr/sbin/pkg_info > $bak/pkg_info.bak + ${pkg_info:-/usr/sbin/pkg_info} > $bak/pkg_info.bak cmp -sz $bak/pkg_info.bak $bak/pkg_info.bak2 if [ $? -eq 1 ]; then