svn commit: r241786 - stable/9/etc/periodic/daily

Hajimu UMEMOTO ume at FreeBSD.org
Sat Oct 20 17:27:58 UTC 2012


Author: ume
Date: Sat Oct 20 17:27:57 2012
New Revision: 241786
URL: http://svn.freebsd.org/changeset/base/241786

Log:
  MFC r241507: Make a command for pkg_info changeable like
  pkg_version in /etc/periodic/weekly/400.status-pkg to be
  friendly with pkgng.

Modified:
  stable/9/etc/periodic/daily/490.status-pkg-changes
Directory Properties:
  stable/9/etc/   (props changed)

Modified: stable/9/etc/periodic/daily/490.status-pkg-changes
==============================================================================
--- stable/9/etc/periodic/daily/490.status-pkg-changes	Sat Oct 20 16:57:23 2012	(r241785)
+++ stable/9/etc/periodic/daily/490.status-pkg-changes	Sat Oct 20 17:27:57 2012	(r241786)
@@ -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


More information about the svn-src-stable-9 mailing list