diff options
author | Dan McGee <dan@archlinux.org> | 2007-12-02 12:20:55 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-12-02 12:20:55 -0600 |
commit | 4845207fd4b540efd7dfcb157eaa64a1a3f10ed9 (patch) | |
tree | ae73be869dfae4353586a4004cd95e03bd8d02e0 /lib/libalpm/error.c | |
parent | 250331a636699561e1239e341f30f2adfebbcb43 (diff) | |
download | pacman-4845207fd4b540efd7dfcb157eaa64a1a3f10ed9.tar.xz |
Make pacman path handling (hopefully) a bit more intuitive
I made pacman path handling a bit odd with my rootdir changes a while back
in order to increase flexability. However, it had a bit of a drawback in
that dbpath/logfile/etc. would not default to being under the rootdir if
that was the only parameter you specified in the config file or on the
command line. (Note: logfile handling was always broken due to the explicit
logfile line required in config files)
Pacman now works as follows:
if a rootdir is specified but not dbpath or logfile:
attempt to place the logfile and dbpath in their default locations under
root
if an explicit dbpath/logfile is specified:
interpret these as absolute paths, regardless of the rootdir setting
if nothing is specified:
fall back to configured defaults
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/error.c')
0 files changed, 0 insertions, 0 deletions