diff options
author | Allan McRae <allan@archlinux.org> | 2008-07-23 15:01:35 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-07-25 05:16:28 +0200 |
commit | 67f388c3fcad755d94944bee1f3a5a938817f5b9 (patch) | |
tree | 1f5d9f58dceb02a7a85418451415c5fb79ab1c31 /lib/libalpm/be_package.c | |
parent | 5e4882dfe8b62a8cb7c206986d1010195a63d74e (diff) | |
download | pacman-67f388c3fcad755d94944bee1f3a5a938817f5b9.tar.gz pacman-67f388c3fcad755d94944bee1f3a5a938817f5b9.tar.xz |
makepkg: add packages to pkgdeps list only after successful install
This fixed FS#9403. With this you can use "makepkg -sr", install the
dependencies, Ctrl+c during the makedepends installation and have
makepkg remove the installed packages on the exit. Previously makepkg
tried to also remove the makedepends which were not installed.
The deplist="" line in remove_deps is due to an obscure bug where local
varaibles from the handle_deps function seem stay in scope because we
never formally exited it.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_package.c')
0 files changed, 0 insertions, 0 deletions