From b96e0ffe0ab8b99d552a9358542c0180afc51df8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 24 Sep 2014 20:03:20 +0200 Subject: [PATCH] xbps-src: cleanup signal handler catching SIGINT and SIGTERM. - catching SIGHUP is meaningless. - there's no point in clearning wkrsrc or removing autodeps, this is left intact right now; this could be useful to have. --- xbps-src | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/xbps-src b/xbps-src index 224e652675..2576239320 100755 --- a/xbps-src +++ b/xbps-src @@ -281,14 +281,6 @@ masterdir_zap() { exit_func() { wait - if [ -z "$XBPS_KEEP_ALL" ]; then - if [ -n "$IN_CHROOT" ]; then - remove_pkg_autodeps - fi - if [ -n "$sourcepkg" ]; then - remove_pkg_wrksrc - fi - fi if [ -n "$sourcepkg" ]; then remove_pkg $XBPS_CROSS_BUILD fi @@ -535,7 +527,7 @@ fi check_build_requirements -trap 'exit_func' INT TERM HUP +trap 'exit_func' INT TERM # # Main switch.