diff options
Diffstat (limited to 'sys-apps/personal-utils/files/emergefix')
-rwxr-xr-x | sys-apps/personal-utils/files/emergefix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys-apps/personal-utils/files/emergefix b/sys-apps/personal-utils/files/emergefix index 59daee5..8104342 100755 --- a/sys-apps/personal-utils/files/emergefix +++ b/sys-apps/personal-utils/files/emergefix @@ -2,14 +2,12 @@ set -e echo -e '\e[1;34m========== Update packages ==========\e[0m' -emerge -auDN --with-bdeps=y --keep-going=y @world "$@" -[ $? -eq 0 ] || { +emerge -auDN --with-bdeps=y --keep-going=y @world "$@" || { echo -ne "\e[1;31mContinue?\e[0m " read } echo -e '\e[1;34m========== Rebuil packages ==========\e[0m' -revdep-rebuild -- "$@" -[ $? -eq 0 ] || { +revdep-rebuild -- "$@" || { echo -ne "\e[1;31mContinue?\e[0m " read } |