1 .TH zpm-packagehash 8 2019-02-14 "ZPM 0.3"
3 zpm-packagehash \- run packagehash
5 case 'f': dbfile = optarg; break;
6 case 's': set = 1; break;
7 case 'S': clear = 1; break;
8 case 'c': check = 1; break;
9 case 'q': quiet = 1; break;
10 case 'e': showcurrent = 1; break;
21 calculates, prints, or sets the hash of a package. The package must
22 be specified as a complete package triple.
26 specify the package file to find packages in
29 set the hash after calculating it
32 clear the package hash
35 check the package hash against one given as an additional argument
38 Don't output anything to stdout.
41 Show the current package hash, rather than the calculated one.
44 zpm packagehash -s -f foo-1.0-1.zpm foo-1.0-1
45 Calculate and set the package hash for the foo-1.0-1 package.
47 0 on success non zero on failure