diff options
author | ume <ume@FreeBSD.org> | 2012-10-13 14:45:42 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2012-10-13 14:45:42 +0000 |
commit | e2e55abec20f952bb31eb49bfbc041f9c6ec0a64 (patch) | |
tree | 7ab16300adcba565fe1c7d611d408a90e5ec6365 /etc/periodic | |
parent | 6d988f09cf43d58ab647f11c85fda8f1ef8137b5 (diff) | |
download | FreeBSD-src-e2e55abec20f952bb31eb49bfbc041f9c6ec0a64.zip FreeBSD-src-e2e55abec20f952bb31eb49bfbc041f9c6ec0a64.tar.gz |
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
Diffstat (limited to 'etc/periodic')
-rwxr-xr-x | etc/periodic/daily/490.status-pkg-changes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/daily/490.status-pkg-changes b/etc/periodic/daily/490.status-pkg-changes index 60e3e8c..548e10a 100755 --- a/etc/periodic/daily/490.status-pkg-changes +++ b/etc/periodic/daily/490.status-pkg-changes @@ -23,7 +23,7 @@ case "$daily_status_pkg_changes_enable" in 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 |