PKG_UPDATE_SUMMARY(1)

NAME
pkg_update_summary - update, or create a summary file (pkg_summary(5))

SYNOPSIS
pkg_update_summary summary_file bin_pkg_dir [decompress compress]

DESCRIPTION
pkg_update_summary updates (or creates if it does not exist) summary information about binary packages and stores it in summary_file file. That is pkg_update_summary checks whether bin_pkg_dir directory contains binary packages (files) newer than summary_file file. If they exist, it updates the summary. NOTE: modification time of the binary package file is checked, not the content of the package. Also pkg_update_summary removes from summary_file the information about packages removed from bin_pkg_dir directory.

The options are as follows:

OPTIONS

-h  display help message

-r  only newest versions for each PKGPATH:PKGBASE pair is kept in summary

ENVIRONMENT

PKG_SUFX
    Binary package extension (either .tgz or .tbz).

TEST_CMD
    Solaris's test command does not like option -nt, defaults to 'test'

PKG_INFO_CMD
    Path to pkg_info command

EXAMPLES
pkg_update_summary /srv/packages/All/pkg_summary.txt /srv/packages/All pkg_update_summary /dir/pkg_summary.gz /dir 'gzip -dc' 'gzip -c'

SEE ALSO
pkg_summary-utils(7), pkg_summary(5)

AUTHOR
Aleksey Cheusov <vle@gmx.net>