.TH zpm-packagehash 8 2019-02-15 "ZPM 0.3" .SH NAME zpm-packagehash \- run packagehash .SH SYNOPSIS .B zpm packagehash [ .BI -f " pkgfile" ] [ .B -sScqev ] .RI [ package ] .SH DESCRIPTION \fBzpm-packagehash\fR calculates, prints, or sets the hash of a package. The package may be specified as a partial package id, which will be looked up as if by zpm-findpkg. .SH OPTIONS .TP \-f specify the package file to find packages in .TP \-s set the hash after calculating it .TP \-S clear the package hash .TP \-c check the package hash against one given as an additional argument .TP \-q Don't output anything to stdout. .TP \-v When printing hashes, prepend the package id and a space character. .TP \-e Show the current package hash, rather than the calculated one. .SH EXAMPLES .TP zpm packagehash -s -f foo-1.0-1.zpm foo-1.0-1 Calculate and set the package hash for the foo-1.0-1 package. .SH EXIT STATUS 0 on success non zero on failure .SH FILES /var/lib/zpm/local.db .SH ENVIRONMENT ZPMDB .SH AUTHOR Nathan Wagner .SH SEE ALSO .BR zpm (8) .BR zpm-findpkg (8)