From 889c260cbf6cf497169ca9b75df121d04140441d Mon Sep 17 00:00:00 2001
From: Andres P <aepd87@gmail.com>
Date: Fri, 25 Jun 2010 18:46:38 -0430
Subject: makepkg: remove dead code from handle_deps

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@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
---
 scripts/makepkg.sh.in | 2 --
 1 file changed, 2 deletions(-)

(limited to 'scripts')

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index f5402222..4e321d1f 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -447,8 +447,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:")"
-- 
cgit v1.2.3-54-g00ecf