diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-29 16:00:18 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-29 16:00:18 +0200 |
commit | d0c58250344711a696bd9defc75f1e928573660e (patch) | |
tree | aa09522be4c69901e0b0dbe8b7f974a0d5615f11 /man | |
parent | 0eb91cc34bc2f9f13b22d796083d5794c604efd3 (diff) |
Renamed $PDIR to $PKG_DIR for more consistency
Diffstat (limited to 'man')
-rw-r--r-- | man/5/pkg.conf | 2 | ||||
-rw-r--r-- | man/7/pkg | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/man/5/pkg.conf b/man/5/pkg.conf index a9b7b3a..88b3536 100644 --- a/man/5/pkg.conf +++ b/man/5/pkg.conf @@ -30,7 +30,7 @@ I<url> may either be of the form C<ssh://host/path> or C</path>. path to pkglist on the package root, to generate the package list. In the default, $PKG_PATH means the path component of $PKG_ROOT. -=item B<PDIR>=I<path> ($HOME/packages) +=item B<PKG_DIR>=I<path> ($HOME/packages) path for the local package tree @@ -26,29 +26,29 @@ guaranteed, though I will do my best. =head1 THE BASICS pkg requires two directories in you home directory. B<~/bin> contains -symlinks to the executables shipped with your packages, and $PDIR +symlinks to the executables shipped with your packages, and $PKG_DIR (B<~/packages> by default, but *theoretically* configurable) contains the packages themselves. B<~/bin> may also contain normal executables; pkg will not overwrite existing files. =head1 THE PACKAGE DIRECTORY -$PDIR is the core of all this stuff. Its main use is storing the packages. +$PKG_DIR is the core of all this stuff. Its main use is storing the packages. There is one directory for each installed package, as created by B<git clone>. -$PDIR holds two special files: B<.list> and B<.list-remote>. For +$PKG_DIR holds two special files: B<.list> and B<.list-remote>. For an explanation about these files, see L</"THE PACKAGE LIST"> below. It also contains a special directory, F<.collected> - see L</"COLLECTED PACKAGE FILES">. =head2 NOTE -All directories in $PDIR must be valid git repositories which are not in the +All directories in $PKG_DIR must be valid git repositories which are not in the state of 'initial commit'. Dotfiles (directories starting with a .) are exempt from this, they will be ignored by pkg. =head1 THE PACKAGE ROOT The packages_root, in pkg referred to as $PKG_ROOT, is structured just like -the packages directory $PDIR, except that it neither contains .list nor +the packages directory $PKG_DIR, except that it neither contains .list nor .list-remote. The packages root is the central point where pkg fetches packages from and pushes packages to. @@ -190,7 +190,7 @@ B<recommend package>. =head1 HOOKS -Hooks are little zsh-snippets residing in $PDIR/hooks +Hooks are little zsh-snippets residing in $PKG_DIR/hooks which are sourced from within pkg whenever needed. Currently, the following hooks exist: @@ -215,7 +215,7 @@ Sourced before a package is removed (pkg remove/pkg delete) =head1 COLLECTED PACKAGE FILES -These files reside in F<$PDIR/.collected> (subject to change). +These files reside in F<$PKG_DIR/.collected> (subject to change). The directory is somewhat similar to F<~/bin> - it is automatically populated by pkg. However, this one does not contain symlinks. |