.TH zpm-packagehash 8 2019-02-14 "ZPM 0.3" .SH NAME zpm-packagehash \- run packagehash .SH SYNOPSIS case 'f': dbfile = optarg; break; case 's': set = 1; break; case 'S': clear = 1; break; case 'c': check = 1; break; case 'q': quiet = 1; break; case 'e': showcurrent = 1; break; .B zpm packagehash [ .BI -f " pkgfile" ] [ .B -sScqe ] .RI [ package ] .SH DESCRIPTION \fBzpm-packagehash\fR calculates, prints, or sets the hash of a package. The package must be specified as a complete package triple. .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 \-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)