summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-10-05 18:09:49 +0200
committerDan McGee <dan@archlinux.org>2007-10-14 18:46:43 -0500
commit4e6a03c4f6d413aa9f1c98d255c370c442ce55eb (patch)
treea445b61cc223f4a6019b31dfc6b2c83e11f30036 /scripts
parent5d30c5c0b76e76b336abd2486ac6d24dd972fcc3 (diff)
downloadpacman-4e6a03c4f6d413aa9f1c98d255c370c442ce55eb.tar.xz
libalpm/trans.c : remove the DBPath <-> RootDir dependence in runscriptlet.
This code assumed that DBPath was under RootDir, while this is not necessarily the case : pacman doesn't enforce anymore than DBPath is under RootDir. So now, all scriptlets will be put somewhere in RootDir/tmp/, so that when it chroots in RootDir, the scriptlets are still available inside the chroot. This also removes the need of normalizing both dbpath and rootdir, in order to do computation on the paths. Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions