svn commit: r241507 - head/etc/periodic/daily
Hajimu UMEMOTO
ume at FreeBSD.org
Sat Oct 13 14:45:43 UTC 2012
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
More information about the svn-src-head
mailing list