3 [ -z "$1" ] && set help
12 # parse command line options
14 # read in config files
16 test -r /etc/zpmrc && . /etc/zpmrc
17 test -r $HOME/.zpmrc && . $HOME/zpmrc
18 test -r .zpmrc && . .zpmrc
22 ecmd=$(command -v "zpm-$cmd") && { exec "$ecmd" "$@" || die "$0: unknown command zpm help"; }
23 find $(echo $PATH | tr ':' ' ') -maxdepth 1 -type f -name 'zpm-*' -executable -printf '%P\n'
26 ecmd=$(command -v "zpm-$cmd") || die "$0: unknown command $cmd $@"
27 exec "$ecmd" "$@" || die "$0: could not exec $ecmd"
33 note: add/edit a note file, - from stdin, list if none
34 ack: acknowledge a note file
37 build a package from source
38 - take file names on stdin and build package from them
39 - <name> repackage an installed package
41 install: install a package, - <name> for from a file
43 remove: remove a package
45 db: edit package databases used for finding packages
47 info: get information on a package
49 track: add a package to config tracked packages
51 add: add to a repository/database
53 clean: clean a repository/database
55 update: update a package, or all if no name