From b7b8e9797f9c70dd52566b1357b4906f8774eb04 Mon Sep 17 00:00:00 2001 From: sakaki Date: Sun, 19 Oct 2014 12:33:08 +0100 Subject: [PATCH] Just warn on error in emerge @module-rebuild. (Previous behaviour was to kill the script.) --- genup | 5 +++-- genup.8 | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/genup b/genup index 2e8b7ad..f2247fd 100755 --- a/genup +++ b/genup @@ -28,7 +28,7 @@ set -u # ********************** variables ********************* PROGNAME="$(basename "${0}")" -VERSION="1.0.5" +VERSION="1.0.6" RED_TEXT="" GREEN_TEXT="" YELLOW_TEXT="" RESET_ATTS="" if [[ -v TERM && -n "${TERM}" && "${TERM}" != "dumb" ]]; then RED_TEXT="$(tput setaf 1)$(tput bold)" @@ -168,7 +168,8 @@ rebuild_external_modules_if_necessary() { warning "emerge @module-rebuild completed successfully, but only by restricting" warning "build parallelism" else - die "Failed to complete emerge @module-rebuild due to error" + warning "Failed to complete emerge @module-rebuild due to error" + warning "Continuing..." fi fi } diff --git a/genup.8 b/genup.8 index 01bc040..8dcf4b5 100644 --- a/genup.8 +++ b/genup.8 @@ -1,4 +1,4 @@ -.TH GENUP 8 "Version 1.0.5: October 2014" +.TH GENUP 8 "Version 1.0.6: October 2014" .SH NAME genup \- update Portage tree, all installed packages, and kernel .SH SYNOPSIS