diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-07 20:05:22 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-07 20:05:22 +0200 |
commit | 9b38a917489e742885a8f0489f5e287b5b93e83f (patch) | |
tree | e2c57e58fad6d053fe82d8973b16b6c704e6b184 /man | |
parent | 22298163fbd9c2232907a961daf1c83b7e7795b9 (diff) |
Updated pkg(1), fixed some typos in the docs
Diffstat (limited to 'man')
-rw-r--r-- | man/1/pkg | 29 | ||||
-rw-r--r-- | man/7/pkg | 8 |
2 files changed, 31 insertions, 6 deletions
@@ -31,7 +31,7 @@ Change the default source on all packages to I<source> Example: `changeroot ssh://kraftwerk/var/packages_root` will change the source of core to 'ssh://kraftwerk/var/packages_root/core' -=item B<check> [ I<pacjage> ] +=item B<check> [ I<package> ] Check dependencies, conflicts and symlinks of I<package>. If no argument is given, checks all installed packages @@ -70,7 +70,7 @@ Show commit history for package =item B<push> [ I<package> ] push new local versions to PKG_ROOT. -If no argument is given, pushes all installed packes +If no argument is given, pushes all installed packages =item B<remote-update> @@ -102,6 +102,31 @@ Contains configuration vars =back +=head1 CAVEATS + +On the server holding the PKG_ROOT, core/include/pkglist must be executed for +pkg upgrade and pkg push to work properly. It's recommended to execute it as +cronjob. A concept to execute it 'on demand' is planned. + +=head1 EXAMPLES + +=over + +=item * B<pkg remote-update; pkg upgrade> + +Get new stuff from the packages_root + +=item * B<pkg local-update; pkg push> + +Push local changes to the packages_root + +=item * B<pkg eval exec_hook core post-update; pkg eval populate_collected core> + +Update the core package after local changes. +(Yeah, this sucks. I'm working out a better way) + +=back + =head1 AUTHOR Daniel Friesel <derf@derf.homelinux.org> @@ -64,13 +64,13 @@ The following pkg-related functions are available: Returns true if I<package> is installed, otherwise false -* B<perlmodule> I<perl module> +* B<perlmodule> I<perlmodule> -Returns true if I<perl module> can be used by perl, otherwise false +Returns true if I<perlmodule> can be used by perl, otherwise false -* B<file_in_path> I<commend name> +* B<file_in_path> I<commendname> -Returns true if I<command name> was found in the users PATH, otherwise false +Returns true if I<commandname> was found in the users PATH, otherwise false * B<offer_install> I<package> |