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