diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2007-10-03 21:02:36 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-10-03 21:02:36 -0500 |
commit | 52e7e6d74733f7a431376a9e528c4fe4d3732068 (patch) | |
tree | e21405be433b04b9280c1abf4836e98cab603d14 /scripts/makepkg.sh.in | |
parent | 4453ce155c2f2c5d48e45269250ac0bab52ac63f (diff) | |
download | pacman-52e7e6d74733f7a431376a9e528c4fe4d3732068.tar.xz |
needs_transaction adjustments
I just moved the root path check out of needs_transaction, and put it directly
in pacman.c . I think this part is alright.
For the other problems, I thought about doing the transaction first, in a new
sync trans function, which will init and release a transaction. And then doing
the commands like -Ss / -Sl / -Sg / -Si.
The problem is that for commands like -Sys / -Syl / etc, only the refresh part
of the transaction should be done. So I had to introduce an ugly sync_only
hack.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'scripts/makepkg.sh.in')
0 files changed, 0 insertions, 0 deletions