From 94eb08b05ab016613497788c78ab8d26039b2203 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 12 Feb 2014 18:03:21 +0100 Subject: [PATCH] hooks/04-generate-runtime-deps.sh: disable trap on ERR, not too useful on this hook. --- common/hooks/post-install/04-generate-runtime-deps.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/hooks/post-install/04-generate-runtime-deps.sh b/common/hooks/post-install/04-generate-runtime-deps.sh index c54e6325774..3f04720bb57 100644 --- a/common/hooks/post-install/04-generate-runtime-deps.sh +++ b/common/hooks/post-install/04-generate-runtime-deps.sh @@ -33,6 +33,11 @@ add_rundep() { hook() { local depsftmp f j tmplf mapshlibs sorequires + # Disable trap on ERR, xbps-uhelper cmd might return error... but not something + # to be worried about because if there are broken shlibs this hooks returns + # error via msg_error(). + trap - ERR + mapshlibs=$XBPS_COMMONDIR/shlibs tmplf=$XBPS_SRCPKGDIR/$pkgname/template