Date: Sat, 13 Oct 2012 14:45:42 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241507 - head/etc/periodic/daily Message-ID: <201210131445.q9DEjg0m038486@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210131445.q9DEjg0m038486>