Skip to content

Commit

Permalink
Minor changes to genup script.
Browse files Browse the repository at this point in the history
Viz., proper assignment to RESET_ATTS in suppress_colours();
removed --noreplace in emerge of @module-rebuild.
Version bumped accordingly to 1.0.5.
  • Loading branch information
sakaki- committed Oct 13, 2014
1 parent 295b0d7 commit 0de0f35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions genup
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set -u

# ********************** variables *********************
PROGNAME="$(basename "${0}")"
VERSION="1.0.4"
VERSION="1.0.5"
RED_TEXT="" GREEN_TEXT="" YELLOW_TEXT="" RESET_ATTS=""
if [[ -v TERM && -n "${TERM}" && "${TERM}" != "dumb" ]]; then
RED_TEXT="$(tput setaf 1)$(tput bold)"
Expand Down Expand Up @@ -103,7 +103,7 @@ suppress_colours() {
RED_TEXT=""
GREEN_TEXT=""
YELLOW_TEXT=""
RESET_ATTS==""
RESET_ATTS=""
SHOWPREFIX="${PREFIXSTRING}"
}
suppress_colour_if_output_not_to_a_terminal() {
Expand Down Expand Up @@ -163,7 +163,7 @@ update_all_packages_in_world_set_and_dependencies() {
}
rebuild_external_modules_if_necessary() {
show "Creating any necessary external modules (e.g., VirtualBox)..."
if ! emerge ${VERBOSITYFLAG} --noreplace @module-rebuild; then
if ! emerge ${VERBOSITYFLAG} @module-rebuild; then
if MAKEOPTS="${MAKEOPTS-} -j1" emerge --resume; then
warning "emerge @module-rebuild completed successfully, but only by restricting"
warning "build parallelism"
Expand Down
4 changes: 2 additions & 2 deletions genup.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH GENUP 8 "Version 1.0.4: September 2014"
.TH GENUP 8 "Version 1.0.5: October 2014"
.SH NAME
genup \- update Portage tree, all installed packages, and kernel
.SH SYNOPSIS
Expand Down Expand Up @@ -30,7 +30,7 @@ updates all packages in the @world set
.IP \(bu 2
builds any external modules (such as those for VirtualBox)
.br
(using \fBemerge --noreplace @module-rebuild\fR)
(using \fBemerge @module-rebuild\fR)
.IP \(bu 2
rebuilds any packages depending on stale libraries
.br
Expand Down

0 comments on commit 0de0f35

Please sign in to comment.