How to use it if oyu are not the admin (but a simple user)?


Extract the whole directory tree with `distribute' (as found in an RPM 
or tarball) somewhere into your home directory (for example, 
~/.opt/distribute/; so you'll have ~/.opt/distribute/etc/, 
~/.opt/distribute/usr/).

Then you have three options how to run it:

1. run `distribute' with environment variable P_ROOT set to the path to 
where you have just installed the directory tree; example:

$ P_ROOT=~/.opt/distribute ~/.opt/distribute/usr/bin/distribute OPTIONS


2. create a simple script that does what was described in 1. and that 
is easy to access; for example:
$ cat > ~/bin/distribute <<'EOF'
#!/bin/bash

P_ROOT=~/.opt/distribute ~/.opt/distribute/usr/bin/distribute "$@"
EOF
$ chmod a+x ~/bin/distribute

If ~/bin is in your $PATH, then you will be able to call `distribute' 
directly from the command line:

$ distribute OPTIONS


3. Change ~/.opt/distribute/usr/bin/distribute a bit in the beginning 
of the script: set the right value to P_ROOT.


(The task configuration for Sisyphus distribution will be found in 
~/.opt/distribute/etc/distribute/tasks/sisyphus.)


Remarks:

There is also a confgiurable P_SYSCONFDIR parameter. If you don't set it
explicitly, it uses the prefix from P_ROOT. If you set it, it overrides 
that P_ROOT-derived value. So you could use /etc as your conf-dir, but
~/.opt/distribute as the installation location (P_ROOT) for distribute.

imz@altlinux.ru, 2002 Jul 10.
