[pacman-dev] [PATCH 03/10] makepkg: remove dead code from handle_deps
Andres P
aepd87 at gmail.com
Fri Jun 25 19:16:38 EDT 2010
The error message that has been removed never gets to print because, given the
same condition, handle_deps throws the same error and then immediately exits
makepkg.
Signed-off-by: Andres P <aepd87 at gmail.com>
---
scripts/makepkg.sh.in | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 02d9df8..2237cfe 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -449,8 +449,6 @@ resolve_deps() {
# check deps again to make sure they were resolved
deplist="$(set +E; check_deps $*)" || exit 1
[[ -z $deplist ]] && return $R_DEPS_SATISFIED
- elif (( DEP_BIN )); then
- error "$(gettext "Failed to install all missing dependencies.")"
fi
msg "$(gettext "Missing Dependencies:")"
--
1.7.1
More information about the pacman-dev
mailing list