View Single Post
  #3   (View Single Post)  
Old 7th October 2017
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 242
Default

Quote:
Originally Posted by ibara View Post

Quote:
This option allows you to test for the presence of another (perhaps prerequisite) package from a script. If the package identified by pkg-name is currently installed, return 0, otherwise return 1. In addition, the names of any package(s) found installed are printed to stdout unless turned off using the -q option.
The given pkg-name is actually a package specification, as described in packages-specs(7). For example, pkg_info -e 'name->=1.3' will match versions 1.3 and later of the name package.

I am getting this

Code:
# pkg_check -e keepassx-2.0.3p1.tgz        
pkg_check: Unknown option -e
Usage: pkg_check [-FfIimnqvx] [-B pkg-destdir] [-D value]
Reply With Quote