summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-12-02 19:20:55 +0100
committerDan McGee <dan@archlinux.org>2007-12-02 19:20:55 +0100
commit4845207fd4b540efd7dfcb157eaa64a1a3f10ed9 (patch)
treeae73be869dfae4353586a4004cd95e03bd8d02e0 /lib/libalpm/add.c
parent250331a636699561e1239e341f30f2adfebbcb43 (diff)
downloadpacman-4845207fd4b540efd7dfcb157eaa64a1a3f10ed9.tar.gz
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/add.c')
0 files changed, 0 insertions, 0 deletions