index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Karolina Lindqvist <karolina.lindqvist@kramnet.se> | 2007-12-29 12:42:45 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-12-29 12:42:45 -0600 |
commit | dffa0654f2eae1c427a74c647d22f0bbd201ccf7 (patch) | |
tree | b4b382ce2db645c551f3ba2a9deef88102e576c8 /src | |
parent | fbd88a8212e794899e75ecf44024777c5a58deb2 (diff) |
-rw-r--r-- | src/pacman/remove.c | 3 |
diff --git a/src/pacman/remove.c b/src/pacman/remove.c index 56837fa2..fde5c737 100644 --- a/src/pacman/remove.c +++ b/src/pacman/remove.c @@ -155,7 +155,8 @@ int pacman_remove(alpm_list_t *targets) list_display(_("Targets:"), lst); FREELIST(lst); /* get confirmation */ - if(yesno(_("\nDo you want to remove these packages? [Y/n] ")) == 0) { + if(!config->noconfirm + && yesno(_("\nDo you want to remove these packages? [Y/n] ")) == 0) { remove_cleanup(); FREELIST(finaltargs); return(1); |